# Geometry flickering

**URL:** <https://forums.unrealengine.com/t/geometry-flickering/395094>\
**Category:** Rendering\
**Tags:** bug, flicker, unreal-engine, grid, geometry, question\
**Created:** [May 31, 2017, 12:43am UTC](https://forums.unrealengine.com/t/geometry-flickering/395094 "2017-05-31T00:43:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhidlerCrab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhidlerCrab](https://forums.unrealengine.com/u/PhidlerCrab)\
**Post date:** [May 31, 2017, 12:43am UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/1 "2017-05-31T00:43:39Z")

</div>

I’m not sure how to describe this problem because I’m new to Game Development and I don’t know the proper terms. Basically when I put my geometry flush with my Grid is starts to flicker like crazy. I’m following a course on Udemy. Here is a video I recorded:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=vlvEoCfDBS4)

This is a fresh install of Unreal Engine. Everything is set to their defaults.

Thanks to everyone in advance!

---

<div class="post-metadata">

**Author:** ![joeypark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeypark](https://forums.unrealengine.com/u/joeypark)\
**Post date:** [May 31, 2017, 1:21am UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/2 "2017-05-31T01:21:38Z")

</div>

I believe it is because of Z-fighting.

> **[Z-fighting](https://en.wikipedia.org/wiki/Z-fighting)**
>
> Z-fighting, also called stitching or planefighting, is a phenomenon in 3D rendering that occurs when two or more primitives have very similar distances to the camera. This would cause them to have near-similar or identical values in the z-buffer, which keeps track of depth. This then means that when a specific pixel is being rendered, it is nearly random which one of the two primitives are drawn in that pixel because the z-buffer cannot distinguish precisely which one is farther from the other.\[1...

---

<div class="post-metadata">

**Author:** ![Hellwave8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hellwave8](https://forums.unrealengine.com/u/Hellwave8)\
**Post date:** [June 2, 2017, 6:36pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/3 "2017-06-02T18:36:12Z")

</div>

Welcome! I’ve always had this problem as well. Other forum posts tend to blame it on graphics card drivers but I’ve gone through 3 months of Nvidia drivers and they all have this issue. I have found two work-arounds for this:

1. In the viewport, click the down-arrow in the top left and un-check ‘Realtime’ (alternatively press CTRL+R). Screenshot included below.
2. Simply don’t build levels with surfaces flush at Z = 0. If you are using the grid as a visual aid, you can always switch to the top-down Ortho mode instead of Perspective or simply place your floor at Z = -5 cm or more beneath the grid. I recommend this option to avoid the flickering in all situations. I typically build at Z = 100 cm as my base.

Best of luck with your tutorials and future work! I believe the Realtime checkbox will control whether animations and  
other visual effects will live-render in your viewport.

---

<div class="post-metadata">

**Author:** ![PhidlerCrab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhidlerCrab](https://forums.unrealengine.com/u/PhidlerCrab)\
**Post date:** [June 2, 2017, 7:14pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/4 "2017-06-02T19:14:23Z")

</div>

Wow awesome thank you so much!!!

---

<div class="post-metadata">

**Author:** ![VictorK009](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VictorK009](https://forums.unrealengine.com/u/VictorK009)\
**Post date:** [June 6, 2017, 5:03am UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/5 "2017-06-06T05:03:59Z")

</div>

I’m also new to UE 4 and having the exact same problem!! Thank you so much!!

---

<div class="post-metadata">

**Author:** ![WouterDB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wouterdb/32/1188566_2.png) [@WouterDB](https://forums.unrealengine.com/u/WouterDB)\
**Post date:** [June 11, 2017, 11:00pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/6 "2017-06-11T23:00:55Z")

</div>

I had the same problem, thanks!  
I noticed that when I disable the anti-aliasing (under the “show” menu in the editor), the flickering no longer occurs, but just building levels at Z = 100cm and having anti-aliasing still enabled seems like a much better solution.

---

<div class="post-metadata">

**Author:** ![KemalGunel89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KemalGunel89](https://forums.unrealengine.com/u/KemalGunel89)\
**Post date:** [June 12, 2017, 12:20pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/7 "2017-06-12T12:20:56Z")

</div>

Hello PhidlerCrab

If your problem solved, can you “mark” this question as “resolved” to helping future UE4 users so they can find the solution if it occurs again.

Tahnk you.

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [June 12, 2017, 12:44pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/8 "2017-06-12T12:44:58Z")

</div>

The grid is rendered on the exact same plane. This will always cause z-fighting.  
I kinda wish Unreal rendered the world grid at 0.00000001 to avoid this.

---

<div class="post-metadata">

**Author:** ![PhidlerCrab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhidlerCrab](https://forums.unrealengine.com/u/PhidlerCrab)\
**Post date:** [June 12, 2017, 1:01pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/9 "2017-06-12T13:01:03Z")

</div>

Oh my bad! How do I do that?

---

<div class="post-metadata">

**Author:** ![KemalGunel89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KemalGunel89](https://forums.unrealengine.com/u/KemalGunel89)\
**Post date:** [June 12, 2017, 1:02pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/10 "2017-06-12T13:02:58Z")

</div>

[https://answers.unrealengine.com/static/how-to-use-answerhub.html](https://answers.unrealengine.com/static/how-to-use-answerhub.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dc9c5df8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dc9c5df8](https://forums.unrealengine.com/u/anonymous_user_dc9c5df8)\
**Post date:** [July 7, 2020, 6:04pm UTC](https://forums.unrealengine.com/t/geometry-flickering/395094/11 "2020-07-07T18:04:23Z")

</div>

I was getting such a headache from the UI always flashing. You saved me. Thank you.
