Landscape layer slope/height blend

Hi,

I currently got a material for my landscape where each layer is looking like in the attached image.
The problem i have now is how to implement height/slope blending for the different layers. Currently i got 8 layers and want blending for atleast 4 of them.

I read: Engine Feature Examples for Unreal Engine | Unreal Engine 5.2 Documentation amongst other articles about this but having trouble applying it to my case.

Regards.

Ok !

Currently i managed to get it to work between 2 layers. But the problem is that i got more material layers like high cliff, moss, sand and underwater grass.

How can i get this working with height blending and more than 2 layers ?