Landscape Displacement

Hello, I think it’s great that UE allows you to enable displacement in landscape materials. Unfortunately, it’s useless if it creates these black rectangles.


I’ve tested it in various versions, currently 5.4.4, and with a variety of settings, lighting, and materials. So far, it seems this function isn’t usable. Hoping that it’s not the engine’s fault, but mine, here’s the question: how can I use landscape displacement effectively, i.e., without these artifacts?

Hi, never seen this issue, do you use virtual heightfield mesh or nanite? Generally speaking if you haven’t already tried, I would implement this from some tutorial. If the issue persists I would try it in a new project (to check whether its related to some project settings)

Thanks for the reply. This is Nanite, and I’ve started with countless tutorials, and I’m getting these rectangles in them, as well as in all my own projects, when I use displacement material on a Nanite landscape actor.
Others, like the creators of the YouTube videos on displacement, don’t seem to have these problems and I don’t understand what’s different about me.

i7-13700K, 64GB, RTX3070

Hey there @Hirk! Does this artifacting appear while closer as well? Does it seem to change with distance?

These black rectangles jump around the screen with each frame. They have no distance; they are drawn on the frame at random positions, always the same size.

As far as I can tell so far, the displacement creates NaN pixels in the framebuffer, which are scaled up to these rectangles by the bloom effect. I don’t want to do without the bloom, so I prefer to turn off displacement. Unfortunately, I don’t know how to stop the generation of NaN values ​​in the render pipeline.

The question remains: why doesn’t everyone who uses displacement have this problem?

1 Like