29-03-2022, 01:48 PM
(29-03-2022, 07:31 AM)josemendez Wrote: Hi,
You set transparency very low (26%) so the fluid is mostly opaque (solid). If you want a transparent liquid, transparency should be at maximum.
Your particle blend source/dest are set is set to Dst alpha, and to One Minus Dst Alpha. This is rather weird as it will only use your framebuffer's alpha channel for blending, which is definitely not what you want.
If you want alpha blending instead of the default multiplicative blending, use Src Alpha and One Minus Src Alpha for both particle and blend source/destination respectively. This will give you good results:
Blend modes/operators are a basic concept in 3D graphics, there's lots of online resources. A good one to start is Unity's manual:
https://docs.unity3d.com/Manual/SL-Blend.html
I got to ask, why isn't there a proper fluid mixing scene which is 3D? I appreciate your answers, however using the options that you've listed, it seems that my yellow liquid turned dark blue and my red liquid has turned turquoise kind of color. I am using the values from your Diffusion manual, yet for some reason I cannot get the same result.
I really wish there was more documentation for this.