23-08-2022, 04:56 PM
(23-08-2022, 10:21 AM)khanx078 Wrote: I am also trying to mix 2 colors , and i followed the steps mentioned but I am not getting any result at all I am mixing red and yellow but I get red in return
Have you tried the included "FluidMixing" sample scene? Does that work for you?
If it does, all you need to do is replace the gradient in the ObiFluidPropertyColorizer components with the colors you want to mix. This will work fine for the case of mixing 2 fluids. If you want to mix more than 2 fluids, it's a bit more advanced since you can't use the mixing data to lerp between colors.
let me know if you need further help.
kind regards,