Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Glowing luquid in obi 7.0
#1
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=tfVS3yc9...LL&index=3

Is there a way for this?
Reply
#2
(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=tfVS3yc9...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,
Reply
#3
(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!
Reply
#4
(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/manua...ering.html

kind regards,
Reply