# Does anyone know why the foliage always flickering in ue5?

**URL:** <https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, Lighting, question\
**Created:** [September 8, 2023, 5:59am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632 "2023-09-08T05:59:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elvisa0023](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Post date:** [September 8, 2023, 5:59am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/1 "2023-09-08T05:59:38Z")

</div>

All the foliage will have a crazy flickering on my pc. I tried it with both version 5.2 and 5.3,they all have the same problem.It is look like some shadow error.I tried to disable wpo, disable nanite, disable Lumen, disable cast shadow,change anti method and none of them worked.  
I didn’t enable the ray tracing. Even kept flickering it unlit view mode. I tried to download and view it the Electric Dreams demo,also has foliage flickering.  
When I enable dlss,all the flickering were gone.  
Does anyone know of a solution?  
Uploading: foliage\_flickering.mp4…  
Uploading: Fliage\_Flickering\_2.mp4…

 ![Rendering_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/4/d34c88fae820e47d2b04d002932c25724339b37a.png)  
 ![Rendering_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/1/32167d444e9e11758124abfc1e7cacabd23b8564.png)

---

<div class="post-metadata">

**Author:** ![Elvisa0023](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Post date:** [September 8, 2023, 6:05am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/2 "2023-09-08T06:05:31Z")

</div>

Video on here:[https://www.facebook.com/61551115855216/videos/3453194334930505/](https://www.facebook.com/61551115855216/videos/3453194334930505/)

---

<div class="post-metadata">

**Author:** ![Elvisa0023](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Post date:** [September 8, 2023, 8:51am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/3 "2023-09-08T08:51:51Z")

</div>

![foliage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/f/b3ff412406c24b45a8b8d9c15ce836b6ea6856fe.gif)

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [September 8, 2023, 5:53pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/4 "2023-09-08T17:53:11Z")

</div>

The mesh settings also matter, as well as the main directional light. Try to disable shadows to see if that is the cause, and use other shadow casting methods.

---

<div class="post-metadata">

**Author:** ![Elvisa0023](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Post date:** [September 10, 2023, 8:29am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/5 "2023-09-10T08:29:19Z")

</div>

- I tried to disable cast shadow, but it didn’t work.I also tried to switch between shadow map and virtual shadow map, again to no avail.I post the video below.The project is Electric Dreams, I just turned off the hardware ray tracing in the project settings, and in this project, all the foliage in the scene still flickered like crazy.

---

<div class="post-metadata">

**Author:** ![Elvisa0023](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Post date:** [September 10, 2023, 8:29am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/6 "2023-09-10T08:29:45Z")

</div>

[https://www.youtube.com/watch?v=skSM9SR8WOQ](https://www.youtube.com/watch?v=skSM9SR8WOQ)

---

<div class="post-metadata">

**Author:** ![plezy3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plezy3](https://forums.unrealengine.com/u/plezy3)\
**Post date:** [March 2, 2024, 11:09am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/7 "2024-03-02T11:09:25Z")

</div>

have you found solution?

---

<div class="post-metadata">

**Author:** ![Elvisa0023](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Post date:** [March 11, 2024, 1:46am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/8 "2024-03-11T01:46:26Z")

</div>

So far there is no solution

---

<div class="post-metadata">

**Author:** ![CatWillAlex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/catwillalex/32/908629_2.png) [@CatWillAlex](https://forums.unrealengine.com/u/CatWillAlex)\
**Post date:** [March 11, 2024, 9:35am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/9 "2024-03-11T09:35:48Z")

</div>

Hi, I have the same problem, but not only with foliage.

I was looking for a solution to this problem and found the reason, it might be a UE5 bug, but if you switch the Skylight actor mode to Stationary, the problem should go away.

UE5 dynamically generates ambience because of this the shadows flicker. I submitted a report with this problem on the Unreal engine website

 ![image (25)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/a/baa7ef94b5057ef010a7e74c6db351bb3556464f.jpeg)

---

<div class="post-metadata">

**Author:** ![plezy3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plezy3](https://forums.unrealengine.com/u/plezy3)\
**Post date:** [March 12, 2024, 3:18am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/10 "2024-03-12T03:18:44Z")

</div>

didn’t fix for me

---

<div class="post-metadata">

**Author:** ![CatWillAlex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/catwillalex/32/908629_2.png) [@CatWillAlex](https://forums.unrealengine.com/u/CatWillAlex)\
**Post date:** [March 12, 2024, 10:25am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/11 "2024-03-12T10:25:57Z")

</div>

Try to use this console commands:

r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal 0

If this doesn’t work, try this:

r.Lumen.ScreenProbeGather.Temporal.DistanceThreshold

And if it actually doesn’t work, try to change this option on skylight actor:  
(SkyLight \> Distance Field Ambient Occlison \> Min Occlusion = 1)

---

<div class="post-metadata">

**Author:** ![plezy3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plezy3](https://forums.unrealengine.com/u/plezy3)\
**Post date:** [March 12, 2024, 3:09pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/12 "2024-03-12T15:09:31Z")

</div>

tried all 3 nothing changed(if you want detailed info about my problem i posted it)

---

<div class="post-metadata">

**Author:** ![comlys](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/comlys/32/998665_2.png) [@comlys](https://forums.unrealengine.com/u/comlys)\
**Post date:** [March 12, 2024, 5:53pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/13 "2024-03-12T17:53:56Z")

</div>

Try to remove it from the lumen scene. Disable visible to raytracing on the actor. Or switch it to a subsurface material.

---

<div class="post-metadata">

**Author:** ![plezy3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plezy3](https://forums.unrealengine.com/u/plezy3)\
**Post date:** [March 12, 2024, 9:27pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/14 "2024-03-12T21:27:09Z")

</div>

i already did all 3 disabled lumen turned off material, i don’t have raytracing enabled and i tried switching to subsurface (check my post to see what i already tried)

---

<div class="post-metadata">

**Author:** ![mistamishto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mistamishto](https://forums.unrealengine.com/u/mistamishto)\
**Post date:** [March 13, 2024, 10:25pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/15 "2024-03-13T22:25:21Z")

</div>

I’m getting a very similar issue with smaller foliage in the scene flickering with different shadow renders between frames.

This only occurs when I render path traced and is visible in the viewport when viewing in path traced view. If I switch to lit it is fine.

This all started when I added a few more lights into the scene. All levels are built and the only error the log returns is that the water mesh should be set to non dynamic lighting.

---

<div class="post-metadata">

**Author:** ![67SENAI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@67SENAI](https://forums.unrealengine.com/u/67SENAI)\
**Post date:** [March 30, 2024, 6:05pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/16 "2024-03-30T18:05:14Z")

</div>

[For everyone, watch this video, it worked for me, it’s great.]  
([https://www.youtube.com/watch?v=s5wwLagrZCU](https://www.youtube.com/watch?v=s5wwLagrZCU))

---

<div class="post-metadata">

**Author:** ![CatWillAlex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/catwillalex/32/908629_2.png) [@CatWillAlex](https://forums.unrealengine.com/u/CatWillAlex)\
**Post date:** [July 31, 2024, 4:08pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/17 "2024-07-31T16:08:02Z")

</div>

Hi, could you check my forum with the flickering shadows problem in UE5 please? This problem is in Distance field AO, I’ve had several versions in a row to solve this problem but never found a solution. The forum is called “Problem with flickering shadows in Unreal Engine 5 when using global illumination not in Lumen mode”

I already wrote a bug report to epic games and did some research, as I realized this problem occurs with many other people [Topic](https://forums.unrealengine.com/t/problem-with-flickering-shadows-in-unreal-engine-5-when-using-global-illumination-not-in-lumen-mode/1743119)

---

<div class="post-metadata">

**Author:** ![VirionZero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VirionZero](https://forums.unrealengine.com/u/VirionZero)\
**Post date:** [November 30, 2024, 2:06am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/18 "2024-11-30T02:06:54Z")

</div>

r.Lumen.ScreenProbeGather.Temporal.DistanceThreshold .1

Fixed it for me with lumen on and keeping the darker areas in shadows. A value of 1 eliminates the problem better but has bad ghosting.

r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal 0

Fixes it but makes the dark areas pretty bright and doesn’t look as good.

Still have flickering grass with Lumen disabled…

Seems like turning off Distance Field Ambient Occlusion when Lumen is off might be a fix for my situation:  
r.DistanceFieldAO 0

---

<div class="post-metadata">

**Author:** ![FrostyJas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frostyjas/32/1194640_2.png) [@FrostyJas](https://forums.unrealengine.com/u/FrostyJas)\
**Post date:** [December 2, 2024, 6:18am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/19 "2024-12-02T06:18:58Z")

</div>

Greetings @VirionZero

Welcome to the Unreal Engine Forum and thank you for the info! I tested that and it helped my situation as well. Good find!

---

<div class="post-metadata">

**Author:** ![Narg](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/narg/32/870597_2.png) [@Narg](https://forums.unrealengine.com/u/Narg)\
**Post date:** [May 28, 2026, 10:00am UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632/20 "2026-05-28T10:00:23Z")

</div>

Gonna give that a shot

[Next page](https://forums.unrealengine.com/t/does-anyone-know-why-the-foliage-always-flickering-in-ue5/1287632.md?page=2)
