- Home /
water foam on the horizontal axis
am trying to make water with simple foam around any intersecting objects i have tried many tutorials and they all do the same thing they use the scene depth node and render the foam on the deeper pixels but this way doesn't work for my game because my game is top down view (the camera is almost 90dgrees above main game object) am trying different ways to fix it reading the nodes documentation but still hasn't find anything working i think the position node might have the solution for me but still haven't figured out how here is some screenshots to explain more what i want
the shader graph am using to create the foam the results am trying to get
Your answer
Follow this Question
Related Questions
change water4 fade distance 0 Answers
URP - Grayscale to black and white 0 Answers
Shadergraph Custom Function undeclared identifier 4 Answers
Water Transparency - Help with Shader! 1 Answer
Why are the pixels in a shader only confined to the mesh? 1 Answer