[Community Project] WIP Weather & Water Shader

.unrealengine.com/latest/INT/Search/index.html?q=Stencil+Buffer&filter=documentation&x=16&y=7

I’ve got a long ways to go. Not muh documentation.

Got the stencil buffer index deal figured out though. Now if I can just figure out how to draw the geometry and occlude it magic not yet known to my skills, have to look at some hlsl code for reading te stencil index.
Of course I’ve thought about just turning the bIsActive = false when below decks and = true when above decks or looking through the periscope. Thats what all the previous sub sim games did but I have big plans.


Being that the sceneDepth node only assigns values for opaque objects I wouldnt even know where to start.
Materials is one ting I never ended up learning. Focused on BP’s so that when C++ time came (now) I’d have a small idea of the API