How do I blend landscape textures based on world height / heightmap values?

Finally after enough poking around and mental hardship, I’ve come to a solution for blending textures based on elevation.

The “divide” node controls where the blending starts along Z (also -Z, this will duplicate results on both positive and negative values, so make sure you’ve the lowest part of your terrain above 0 if you want to use this for oceans and lakes) For me, I had to set it to divide by 140 to get reasonable results.

Note: my example is not entirely finished, as this elevation blend will later be combined with an angle blend, to more realistically show how snow sits on a mountain. Still wont be perfect, but may be believable.

2 Likes