Water Shader Material Shoreline Effect?

Hey guys, quick question that I hope you can help me with:

In UDK3 I always used Depth Bias Alpha to do a shore type effect (foam and such for objects/terrain that are/is touching the water) for water materials, but I’ve recently noticed that it’s not available in UE4. Can anyone point me to what I should use now to accomplish this effect?

Thanks in advance :slight_smile:

DepthFade node is what you are looking for.

Ah so I see they changed it then, I won’t be home to test it out for some time, but I’m curious if it works the same way as before?

Basically, can I see an example of it in use for this (Pic of the material setup)? Just want to make sure I know what I’m doing to avoid wasting time lol.

Yeah, it works as you expect. Here you can see a sample: