Home Unreal Engine

[Solved] Landscape Material layer blend with texture height

polycounter lvl 2
Offline / Send Message
Tryall polycounter lvl 2
Hi Polycount community ! I am currently struggling with the Unreal Landscape material system.
I want to have my layers blending together depending of the heightmap of theses textures (not the height map of the terrain).

I want that type of thing (look at the two screenshot below this anchored link) :

But I can't make it work, and I can't find something useful online. Currently my blend look like this :

Here is my layer blend nodes. I plugged in my 3 textures normal (basecolor are in another layer blend with the same parameter names). And my heightmap is also correctly plugged to every "Height Rock" or "Height Dirt".

But that not making any change. My layer blend is always blurry. If you made something like this before, can you help me out figuring what I need to do ?

Thank you :)


Replies

  • Obscura
    Offline / Send Message
    Obscura grand marshal polycounter
    If you take a look at the example image in the documentation, you can see that the "height" texture that they used has a lot of contrast and it isn't really a good heightmap:


    But! You can achieve a similar look with yours without completely destroying them. feed the heightmap into a lerp and set A to some large negative(-10 for example), and B to some large positive value. Your actual heightmap would the the A of the lerp. Then clamp the result of the lerp and use that in the heightmap input of the layer blend.
  • Tryall
    Offline / Send Message
    Tryall polycounter lvl 2
    Thank you Obscura ! It working, you saved me a lot of time :)
    For the curious. Here is my material height, I remade the grayscale level inside photoshop, The lerp/clamp/contrast thing inside Unreal is a little too messy for me.
    Thank you again !
Sign In or Register to comment.