25-11-2022, 09:48 AM
(This post was last modified: 25-11-2022, 09:49 AM by josemendez.)
(25-11-2022, 09:07 AM)kebab_traume Wrote: Hi! Have a question. I have tried to apply urp fluid shader to simple fluid example and it worked. Made the same with mixing fluids scene from default examples - see nothing. Particles shader work without problems. So here're two questions - what I did wrong
There's no such thing as a "URP fluid shader" that you can assign to fluids. The only similar shader there is is used internally and won't work when manually assigned to a regular renderer.
You set up fluid rendering in URP by adding a fluid renderer feature to your pipeline's asset, as explained in the manual:
http://obi.virtualmethodstudio.com/manua...ering.html
and this video:
https://www.youtube.com/watch?v=k5Uv5ecjVM0
(25-11-2022, 09:07 AM)kebab_traume Wrote: how to mix two transparent white fluids to have opaque white as the result of mixing?
You can't mix opaque and transparent materials per particle, since transparency is a property of the renderer, not each individual particle.
kind regards,