Material opacity based on landscape height

Hi,
I want to set opacity in mesh material based on landscape height. Something like World_Aligned_Blend in landscape materials but in mesh material. Is it possible? I need this to make beautiful shore.

Wishes,

Hey -

You can use the exact same setup with World_Aligned_Blend just LERP between A=0 and B=1 and plug that into Opacity. You will have to set the Material to Translucent which may mean you lose some of the lighting effects available in an Opaque material.

I would recommend what we do in the Vehicle Game demo which is vertex paint the transition along the shoreline. That way you get the transition you want as well as keep the overall look of your mesh as an opaque material.

Thank You

Eric Ketchum