Obi Official Forum
Help How to make Fluid "glow"? - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: Help How to make Fluid "glow"? (/thread-1186.html)



How to make Fluid "glow"? - Kostik3000 - 16-05-2019

Hi Jose and others,

is there a way to make a fluid emmissive or glowing? Like lava...

Thanks in advance!


RE: How to make Fluid "glow"? - josemendez - 16-05-2019

(16-05-2019, 02:14 PM)Kostik3000 Wrote: Hi Jose and others,

is there a way to make a fluid emmissive or glowing? Like lava...

Thanks in advance!

Hi there,

You'd need to write your own shader for that. You can take the included FluidDielectric.shader as a base, slightly modify it to add an emissive term to the lighting equation. Glowing on the other hand is a post-process filter (sort of an additive blur), that takes emissive parts of the screen and makes them glow. You'll have to make it yourself too (there are plenty of ready-made assets that you can use too) as Obi does not include any post-process graphic effects.