Hey guys, thanks to Alberto Mastretta on Twitter sharing the principles for his Unity water shader, I was able to re-create a shoreline function in UE4, and I figured I’d share it in case other people can get some use out of it. This is useful for creating shore lines by panning a texture along translucent-opaque intersections using a depth-fade gradient, so that you don’t have to hand-place shore lines using splines or other by-hand means.
Code available here: Shoreline Panning posted by hippowombat | blueprintUE | PasteBin For Unreal Engine 4
Cheers!