[UE4] Landscape AutoMaterial and Displacement

Hello everyone. I have an issue while setting up Displacement on my auto landscape shader.

It’s supposed to lerp between two maps automatically based on a Slope shader, but for some reason only the lower layer works, the top one is completely Ignored, even though seeing the World Displacement in my Color input shows me there are two layers. Yet only one is applied !!


Here is the landscape with the WD in Color.

As you can see, the Layer one (noise layer) and the layer 2 (slope, with the No Assigned Texture pattern) are clearly defined and taken into account.


Yet, only the first layer is applied on the displacement. The Color and WD are from the same place !

However, manually painting it works.

I don’t know why, it’s driving me nuts. I made another clean material to test and this approch worked perfectly on the other one, but not here…

Here is the path that my displacement maps take. This path worked perfectly in another material, just not here…


Texture and changes are sampled here. The Displacement output goes into a Make Material Attributes


The 2 MakeMaterialAttributes of the layers are merged together using this built-in function. (Lookdev is OFF in this case it dosen’t affect this problem).

That’s it. On my simple from scratch material it works flawlessly. But not here. Even tho the Lerp is applied and everything is the same as the other one… Thanks in advance !