25-03-2019, 12:12 PM
(25-03-2019, 10:54 AM)anonymous Wrote: Hi.The included simple fluid shader performs multiplicative blending between the background color (dark blue in your case) and the fluid color.
I'm trying to get a very bright green but the color rendered is much darker than the one set in the fluid material inside simpleFluidRenderer. See incl. pics below. I've tried different things but I can't find the solution. Nothing similar found on the web. What am I missing? This should be simple.
You're supposed to write your own fluid shaders, the included one is just a sample. To get a flat color shader, modify the last line of the shader to be:
Code:
return _Color;
instead of
Code:
return output*_Color;