[Community Project] WIP Weather & Water Shader

It’s coming to project of course… my game is going to be waay better than that!! (lol yeah I wish :p)

I still don’t know what you need the struct for though… you should be able to do what you need with the density override… what is the difference?

The depth multiplier is not as you make it sound, it does not multiply the force the deeper it gets (or else you would get a rocket that flies to space once you got deep enough lol).
You can think the depth multiplier as a way to fake how much % a point is submerged… it pretty much uses the point radius to create something like a “gradient smooth zone” near the surface so that a buoyant object doesn’t jump out of the water with full force even though only half of the point is submerged for example.
It’s not perfect or accurate but that’s the best I could come up with at the time (little fun fact: I came up with that code 3 years ago, UDK days :smiley: finally put it to some good use :rolleyes:).