Download

Shoreline Material Function

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 > BlueprintUE.com | PasteBin For Unreal Engine 4

Cheers!

Beautiful. Thank you for sharing!

Thanks Christian

NICE! Thank you so much man! :slight_smile:

Thanks for sharing!!