Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple2DFluid Look w/ DieletricFluid Shader
#4
(01-11-2019, 12:47 AM)goldenmommy Wrote: Thanks for the response! It's very close but the refraction slider is not having any effect and the fluid is rendered unrefracted.  Also the cloudiness slider does not seem to be doing anything either but the color is being applied.  Any ideas?

Hi,

Neither of those things are implemented in the shader I posted, as you can see. The resulting color is simply the background color (read from the _Refraction buffer) multiplied by the cloudiness color. No refraction, no gradual application of the cloudiness.

Adding these should be trivial, simply copy-paste the bits you need from the original dielectric shader.
Reply


Messages In This Thread
RE: Simple2DFluid Look w/ DieletricFluid Shader - by josemendez - 01-11-2019, 10:30 AM