Auto Material Applies wrong Texture on Grass at a Distance

Hi,

I’m using the auto material from Unreal Sensei on an 8km² landscape, and I have an issue where the cliff material appears incorrectly on grass at a distance. Up close, the blending seems fine, but as I move away, the material assignment changes, and slopes that should stay grass get replaced by the cliff texture.

I’m not sure what’s causing this. It could be something related to how the normal or height calculations work over distance, but I don’t have enough knowledge of materials to pinpoint the problem. I’ve recorded a video showing the issue and included screenshots of the material setup. The auto material comes from Unreal Sensei’s tutorial, and I’m also providing the video link in case that helps.

If anyone knows what could be affecting the slope detection at a distance or has suggestions on how to fix it, I’d really appreciate the help.

Those are the screenshots of the material

Main material:

AutoMaterialBlend (collapsed node you can see in the main material)

MF_SlopeBlend (Material function inside AutoMaterialBlend - I think this is the problem)

Unreal Sensei YouTube video

(I cannot share the material file unfortunately because it’s not mine, you have to download it from Unreal Sensei’s website but I can provide additional screenshots)

Thanks in advance

UPDATE: Rotating the light seems to have some kind of reflection…

I also tried another auto material from the Fab marketplace (super cool by the way and it’s free!) but the result is the same.

I don’t really know what else I can try if the problem is not the material (or is it?)

what are you using for the water? to me it looks like a water plane. and it is hitting the precision limit how far below the terrain mesh it will show up.

Thanks for the answer!

Unfortunately, it is not the water, I used the water plugin of Unreal for smaller rivers (not in the screenshot) and a big default plane with a water material from this pack on Fab (super cool and free too btw! :joy:)

Without any water related actors in level:

I also tried to create a new landscape on an empty project with even no material on it and the problem persists for some reason.

Empty project landscape with no material:



Maybe some Lumen settings i have to enable?

Edit: The problem is still there even with a plain landscape with no material!

Update: After continuing to try to fix this problem, I discovered a curious behavior. If I move the camera to the angle where the problem occurs and use the zoom (with numpad 3), the visual artifact disappears at a certain distance (even if the camera angle is the same).

I’m pretty sure it’s not a LOD problem because I forced the landscape to LOD 0 for testing purposes.

LOD visualizer

Viewing landscape normally from distance

I also tried to build a standalone version to test if it was an editor issue, but the problem remained the same.

I filled a bug report as

Case # 17822166: Strange lighting behavior on large landscapes at certain angles has been received