# Cylinder detailed with loop cuts flickers a lot from a distance (Moiré pattern), but looks good when close. Any fix?

**URL:** <https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, UE4-27\
**Created:** [July 26, 2022, 7:06pm UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920 "2022-07-26T19:06:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlfredBaudisch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alfredbaudisch/32/556329_2.png) [@AlfredBaudisch](https://forums.unrealengine.com/u/AlfredBaudisch)\
**Post date:** [July 26, 2022, 7:06pm UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/1 "2022-07-26T19:06:39Z")

</div>

UPDATE: Fixed. See:

> [@Cylinder detailed with loop cuts flickers a lot from a distance (Moiré pattern), but looks good when close. Any fix?](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/6):
>
> Just got it a 100% fixed. It will be a game, so I need performance. I changed settings to: Forward Shading MSAA Keeping it here for others that in the future may stumble upon the same problem. (Why can’t I mark this reply as the topic’s solution?). Source of the solution:

* * *

I have a detailed cylinder in a Skeletal Mesh:

 ![cylinder1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/a/9ea1a482dd1134443783052a2c90e16b06b1ccc1.jpeg)

But if I move just two meters away, it starts to flicker (settings are all set to “Epic”):

![cylinderFlicker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/5/775881a153f1406001b24dc23785ccf00f33beb4.gif)

When it’s animated it’s even worse. Notice that when animated, with the camera close to it, it’s fine.

I tried scaling Bounds Scale to 10, but it didn’t make any difference:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/6/d96d92585813a98f658deffe6a6fb22a38493b23.png)

LOD is still LOD 0.

Any way to avoid this?

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [July 26, 2022, 10:23pm UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/2 "2022-07-26T22:23:23Z")

</div>

Looks like z-fighting, you sure you don’t have overlapping meshes there?

---

<div class="post-metadata">

**Author:** ![AlfredBaudisch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alfredbaudisch/32/556329_2.png) [@AlfredBaudisch](https://forums.unrealengine.com/u/AlfredBaudisch)\
**Post date:** [July 27, 2022, 4:33am UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/3 "2022-07-27T04:33:52Z")

</div>

100% sure no z-fighting there. Here’s the cylinder mesh: [SM\_CylindersDetailed.fbx](https://forums.unrealengine.com/uploads/short-url/nPME3sNSblJ8nMPJhWIrat9dy9Q.fbx) (25.3 KB)

Test with only the cylinders (the above FBX) - it flickers so badly:

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/c/3acbe46475d4cd7b994c02e29bd12312c89dc430.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/c/3acbe46475d4cd7b994c02e29bd12312c89dc430.mp4)

* * *

**I fixed the flickering partially by making the cylinder smooth and baking the bevels as normal, but now I lost the sharpness of the bevels** - it’s supposed to be sharp because it simulates real grinding industrial machinery.

NOW:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/4/5347e8aa59b37239f5155fc50548a2c9aa1e5d57.jpeg)

BEFORE:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/a/9ea1a482dd1134443783052a2c90e16b06b1ccc1.jpeg)

---

<div class="post-metadata">

**Author:** ![AlfredBaudisch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alfredbaudisch/32/556329_2.png) [@AlfredBaudisch](https://forums.unrealengine.com/u/AlfredBaudisch)\
**Post date:** [July 27, 2022, 5:52am UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/4 "2022-07-27T05:52:40Z")

</div>

UPDATE 2: Just tested with both Godot 4-alpha12 and Unity, trying to replicate the same lighting and AA conditions, and the model does not flicker neither in Godot nor Unity.

I wonder what should I tweak in UE to avoid this?

---

<div class="post-metadata">

**Author:** ![AlfredBaudisch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alfredbaudisch/32/556329_2.png) [@AlfredBaudisch](https://forums.unrealengine.com/u/AlfredBaudisch)\
**Post date:** [July 27, 2022, 6:24am UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/5 "2022-07-27T06:24:22Z")

</div>

Someone on Twitter told me it’s Moiré Pattern.

It should be supposed to be gone with TAA, but it’s already using TAA.

Then I increased Screen Percentage in the Post Processing Volume and it solved it, but then it’s not ideal, since it caused a huge performance hit. So I would consider it as still not solved 😢

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/7/667db68dafc51783292d3bb8f4456e6eb6a3009e.png)

---

<div class="post-metadata">

**Author:** ![AlfredBaudisch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alfredbaudisch/32/556329_2.png) [@AlfredBaudisch](https://forums.unrealengine.com/u/AlfredBaudisch)\
**Post date:** [July 27, 2022, 6:55am UTC](https://forums.unrealengine.com/t/cylinder-detailed-with-loop-cuts-flickers-a-lot-from-a-distance-moire-pattern-but-looks-good-when-close-any-fix/614920/6 "2022-07-27T06:55:28Z")

</div>

Just got it a 100% fixed. It will be a game, so I need performance. I changed settings to:

- Forward Shading
- MSAA

Keeping it here for others that in the future may stumble upon the same problem. (Why can’t I mark this reply as the topic’s solution?).

Source of the solution:

> [@Moire problem - static mesh](https://forums.unrealengine.com/t/moire-problem-static-mesh/91599):
>
> How to solve this moire issue problem, in animation is flickering please advise. thank you in advance moire problem front camera is correct
