19-05-2020, 03:59 PM
Hi,
I need to make my fluid glow in yellow/red (as if it is hot), and I read several threads on this subject. This one was the more helping ( http://obi.virtualmethodstudio.com/forum...light=glow ), but it didn't work and I have problems.
When I use the FluidDielectricShader, I can barely see the liquid. I tried to add a value to represent the emission of the fluid ( in the last equation ->
fo.color.rgb = lerp(transmittance,reflection,fresnel) + spec * atten + foam + 10;
), but since I cannot see the liquid... For a glowing effect, do I need to alter the emitter or the renderer? I tried both, but when I change the color and fluid materials in the renderer, nothing change or I can't see anything, the screen only shows black...
I don't know what I can do.
Thanks in advance !
I need to make my fluid glow in yellow/red (as if it is hot), and I read several threads on this subject. This one was the more helping ( http://obi.virtualmethodstudio.com/forum...light=glow ), but it didn't work and I have problems.
When I use the FluidDielectricShader, I can barely see the liquid. I tried to add a value to represent the emission of the fluid ( in the last equation ->
fo.color.rgb = lerp(transmittance,reflection,fresnel) + spec * atten + foam + 10;
), but since I cannot see the liquid... For a glowing effect, do I need to alter the emitter or the renderer? I tried both, but when I change the color and fluid materials in the renderer, nothing change or I can't see anything, the screen only shows black...
I don't know what I can do.
Thanks in advance !