How do I set a material on my landscape that recognizes differences in slope?

Hi,

Im relatively new to unreal engine and would like to create a landscape-material which automatically blends between sand/dunes and cliffs if the slopes get to steep. I saw this effect in the vehicle-preview-recording on youtube.

I looked at the sylized-demo-content and read about World_Aligned_Blend. Using this function I was able to implement a very basic version of the desired effect.

I would like to align the cliff-texture always from top to bottom, but I dont know how…

Thanks for the help

Hi Rouby,

I understand you want to calculate textures per slope but take a look at the solution to the post below. It deals with using height to determine the texture, so it might give you a few ideas.

Hope it helps.

Thanks, TJ