# Shadows flickering in VR with stationary lights

**URL:** <https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465>\
**Category:** XR Development\
**Tags:** stationary-lights, unreal-engine, bug-report, lighting-problem, directional-light, question\
**Created:** [March 20, 2017, 4:56pm UTC](https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465 "2017-03-20T16:56:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![soulpix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@soulpix](https://forums.unrealengine.com/u/soulpix)\
**Post date:** [March 20, 2017, 4:56pm UTC](https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465/1 "2017-03-20T16:56:41Z")

</div>

I have a problem with flickering in shadowed areas with baked light in combination with a stationary directional light. The flickering appears only in VR and on the right eye only.

Is there a way to fix it except for making the directional light movable or static?

here is a gif to demonstrate the problem:

---

<div class="post-metadata">

**Author:** ![Rokasana](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokasana/32/733760_2.png) [@Rokasana](https://forums.unrealengine.com/u/Rokasana)\
**Post date:** [September 28, 2019, 2:12am UTC](https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465/2 "2019-09-28T02:12:05Z")

</div>

I am experiencing the same issue with the same setup. Did you ever find a solution?

---

<div class="post-metadata">

**Author:** ![G4m4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G4m4](https://forums.unrealengine.com/u/G4m4)\
**Post date:** [June 23, 2021, 2:59pm UTC](https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465/3 "2021-06-23T14:59:28Z")

</div>

4 years afterwards I still got this issue as well. In my case disabling the shadow denoiser (r.Shadow.Denoiser 0) “fixes” it but obviously makes shadows super noisy.  
A temporary workaround was to keep the same denoiser algorithm but limit the reconstruction samples count to very low values e.g. r.Shadow.Denoiser.ReconstructionSamples 2 - it looks worse but at least does not leads to asymmetrical artifacts between the two eyes.

---

<div class="post-metadata">

**Author:** ![Elleclouds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elleclouds](https://forums.unrealengine.com/u/Elleclouds)\
**Post date:** [April 28, 2024, 8:09pm UTC](https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465/4 "2024-04-28T20:09:51Z")

</div>

I am having this issue in 2024. How was this issue fixed or addressed? I am getting flickering shadows in one eye

---

<div class="post-metadata">

**Author:** ![fr-coder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fr-coder](https://forums.unrealengine.com/u/fr-coder)\
**Post date:** [May 14, 2024, 12:55am UTC](https://forums.unrealengine.com/t/shadows-flickering-in-vr-with-stationary-lights/388465/5 "2024-05-14T00:55:50Z")

</div>

Look similar to these two threads:

> [@Shadow issue for one eye in VR Template using stationary lighting](https://forums.unrealengine.com/t/shadow-issue-for-one-eye-in-vr-template-using-stationary-lighting/1802518):
>
> This issue happens only with Instanced Stereo enabled. You can replicate this by performing the following step Open the VR template. Delete all the light (this makes the problem more evident) Create a stationary light in front of the wall Put the gun on the other side of the wall For example, you can refer to the following screenshot: The shadow is cast on the gun in one eye only. This makes the weapon very bright in one eye and dark in the other. Any idea how to fix this? This s…

> [@4.14 (VR, Forward Rendering, Instanced Stereo) Staionary Light Causing Shadow sorting error in Left Eye.](https://forums.unrealengine.com/t/4-14-vr-forward-rendering-instanced-stereo-staionary-light-causing-shadow-sorting-error-in-left-eye/380625/6):
>
> It seems similar to the issue I have here (unreal 5.3) [Shadow issue for one eye in VR Template using stationary lighting](https://forums.unrealengine.com/t/shadow-issue-for-one-eye-in-vr-template-using-stationary-lighting/1802518)

Why is this issue ignored? without stationary light, it’s very complex to have a good performance on VR.
