# Landscape Displacement

**URL:** <https://forums.unrealengine.com/t/landscape-displacement/2441699>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [April 5, 2025, 6:21pm UTC](https://forums.unrealengine.com/t/landscape-displacement/2441699 "2025-04-05T18:21:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hirk](https://forums.unrealengine.com/u/Hirk)\
**Post date:** [April 5, 2025, 6:21pm UTC](https://forums.unrealengine.com/t/landscape-displacement/2441699/1 "2025-04-05T18:21:33Z")

</div>

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.

 ![blackRectangles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/1/98158e0d918687d1080bf38cf62cbe983000a702.jpeg)  
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?

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [April 5, 2025, 9:50pm UTC](https://forums.unrealengine.com/t/landscape-displacement/2441699/2 "2025-04-05T21:50:31Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![Hirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hirk](https://forums.unrealengine.com/u/Hirk)\
**Post date:** [April 5, 2025, 10:14pm UTC](https://forums.unrealengine.com/t/landscape-displacement/2441699/3 "2025-04-05T22:14:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [April 5, 2025, 11:18pm UTC](https://forums.unrealengine.com/t/landscape-displacement/2441699/4 "2025-04-05T23:18:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Hirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hirk](https://forums.unrealengine.com/u/Hirk)\
**Post date:** [April 8, 2025, 10:57am UTC](https://forums.unrealengine.com/t/landscape-displacement/2441699/5 "2025-04-08T10:57:20Z")

</div>

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?
