Obi Official Forum
Glowing luquid in obi 7.0 - 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: Glowing luquid in obi 7.0 (/thread-4300.html)



Glowing luquid in obi 7.0 - seenotevil92 - 23-07-2024

Good afternoon!

I want to make the liquid glow and i would be like the edges to glow.

For example.
https://www.youtube.com/watch?v=tfVS3yc9Y34&list=LL&index=3

Is there a way for this?


RE: Glowing luquid in obi 7.0 - josemendez - 23-07-2024

(23-07-2024, 09:07 AM)seenotevil92 Wrote: Good afternoon!

I want to make the liquid glow and i would be like the edges to glow.

For example.
https://www.youtube.com/watch?v=tfVS3yc9Y34&list=LL&index=3

Is there a way for this?

Hi!

Yes, but you must modify the included fluid shader to add a fresnel rim. However this shader is a traditional text-based shader, doesn't use ShaderGraph.

Open up the FluidShader.shader file in your project and modify it as you see fit.

kind regards,


RE: Glowing luquid in obi 7.0 - seenotevil92 - 23-07-2024

(23-07-2024, 09:36 AM)josemendez Wrote: Hi!

Yes, but you must modify the included fluid shader to add a fresnel rim. However this shader is a traditional text-based shader, doesn't use ShaderGraph.

Open up the FluidShader.shader file in your project and modify it as you see fit.

kind regards,

Thank you, very much!


RE: Glowing luquid in obi 7.0 - josemendez - 02-08-2024

(23-07-2024, 12:30 PM)seenotevil92 Wrote: Thank you, very much!

Just realized than you mentioned this is in Obi 7 in the post title, the solution I gave you is intended for Obi 6 and won't work in Obi 7.

In Obi 7, fluids do support ShaderGraph shaders. You can create your own fluid shader using ShaderGraph and then apply a custom material that uses your shader to your fluid render pass. See "Rendering" and "Custom fluid shaders" at the end of this page:
http://obi.virtualmethodstudio.com/manual/7.0/fluidrendering.html

kind regards,