# Weird Interior Shadow Flicker

**URL:** <https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [July 2, 2024, 10:20am UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855 "2024-07-02T10:20:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TEGNO\_ncb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TEGNO\_ncb](https://forums.unrealengine.com/u/TEGNO_ncb)\
**Post date:** [July 2, 2024, 10:20am UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/1 "2024-07-02T10:20:55Z")

</div>

Hello everyone. When lighting interiors I come across 2 types of shadow flicker. I’ve been unable to fix it so far. I’m using lumen and can’t use path trace. Any ideas on how to fix this? The problems go away when rendering the scene in sequencer. But that’s useless since I want to use the scene in realtime.  
In the first video you can see one of the the flickers on the small wall in the middle of the screen facing toward the camera.

  

  
 ![Screenshot 2024-07-02 134746](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/5/cd5de1da22857144f80959864a152163190b6c5b.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 2, 2024, 11:17am UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/2 "2024-07-02T11:17:12Z")

</div>

It is Lumen. First example doesn’t count, as it’s ‘in editor’, so you’re running a simplified setup there.

You can get rid of the red errors with the console command

r.Streaming.PoolSize 0

and by setting your lights to moveable.

As for the Lumen, that’s about as good as it gets in realtime, I think.

There are plenty of ways to tune it, though

> [@Problem with flickering shadows in Unreal Engine 5 when using global illumination not in Lumen mode](https://forums.unrealengine.com/t/problem-with-flickering-shadows-in-unreal-engine-5-when-using-global-illumination-not-in-lumen-mode/1743119/3):
>
> This is not a solution, as in Unreal engine 4 I had no such problems when using movable mode. The only way I found that doesn’t solve the problem but hides it, I change my skylight settings to (SkyLight \> Distance Field Ambient Occlison \> Min Occlusion = 1). And the shadows become less they stop flickering, but then there are artifacts when you look closely, I showed in the screenshot below

---

<div class="post-metadata">

**Author:** ![TEGNO\_ncb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TEGNO\_ncb](https://forums.unrealengine.com/u/TEGNO_ncb)\
**Post date:** [July 2, 2024, 11:48am UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/3 "2024-07-02T11:48:08Z")

</div>

My lights are movable. It turns out changing AA in project setting makes it a lot better. Specifically TAA. The other options aren’t as good. Is there a way to increase the amount?  
r.TemporalAASamples command doesn’t change anything.

---

<div class="post-metadata">

**Author:** ![TEGNO\_ncb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TEGNO\_ncb](https://forums.unrealengine.com/u/TEGNO_ncb)\
**Post date:** [July 3, 2024, 6:17am UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/4 "2024-07-03T06:17:35Z")

</div>

Apparently, enabling “cast raytraced shadows” and increasing “sample per pixel” alongside TAA or other AA options will reduce the flicker and issues significantly.

---

<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 22, 2024, 2:02pm UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/5 "2024-07-22T14:02:31Z")

</div>

No, it’s not Lumen. When using Lumen, this effect disappears. This problem is in DFAO

---

<div class="post-metadata">

**Author:** ![TEGNO\_ncb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TEGNO\_ncb](https://forums.unrealengine.com/u/TEGNO_ncb)\
**Post date:** [July 31, 2024, 1:05pm UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/6 "2024-07-31T13:05:10Z")

</div>

Actually it’s lumen and it’s about how it calculates soft shadows in real time.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [August 30, 2024, 1:05pm UTC](https://forums.unrealengine.com/t/weird-interior-shadow-flicker/1923855/7 "2024-08-30T13:05:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
