Amplify Water Shader Foam


#1

Hi this is my current progress

ive tried making a “foam” for shores and edges where the water would collide with buildings or rocks etc, but nothing i do works. im working in Amplify shader editor. And if someone knows what to do, thanks a lot for the help!


#2

It’s the same principle as shown in this tutorial by AnasEinea:

Even though it is made with shader graph I’m sure you can translate it to amplify. You use the scene depth to get the intersection with other objects


#3

Tried it but dont know what the “1-x” node is any idea what it does?


#4

It’s this one http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/One_Minus


#5

thank you so much for your help, appreciate it a lot


#6

The Amplify Depth Fade Node does exactly what @Disturbed is trying to solve, out of the box.

Seth