# 4.23 fps drop when facing direction of directional light

**URL:** <https://forums.unrealengine.com/t/4-23-fps-drop-when-facing-direction-of-directional-light/455215>\
**Category:** Community & Industry Discussion\
**Tags:** drop, framerate, fps, unreal-engine, directional-light, question\
**Created:** [September 11, 2019, 11:09pm UTC](https://forums.unrealengine.com/t/4-23-fps-drop-when-facing-direction-of-directional-light/455215 "2019-09-11T23:09:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dokukai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dokukai](https://forums.unrealengine.com/u/Dokukai)\
**Post date:** [September 11, 2019, 11:09pm UTC](https://forums.unrealengine.com/t/4-23-fps-drop-when-facing-direction-of-directional-light/455215/1 "2019-09-11T23:09:06Z")

</div>

Updated from 4.22 to 4.23. Had consistent 120 fps when looking all directions, now varies from 110-90 fps depending on which way camera is looking in relation to the directional light source. Tested by rotating the light source and noticing the direction the framerate drops matches, nothing else in scene. Any ideas?, I’ve gained upto 1ms.

[Video 4.23](https://www.youtube.com/watch?v=5FM7cV4pi_s&feature=youtu.be)

[older Video 4.22](https://www.youtube.com/watch?v=SK5SuZwKFL4&feature=youtu.be)

---

<div class="post-metadata">

**Author:** ![Zaidenknopka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zaidenknopka](https://forums.unrealengine.com/u/Zaidenknopka)\
**Post date:** [October 14, 2019, 3:39am UTC](https://forums.unrealengine.com/t/4-23-fps-drop-when-facing-direction-of-directional-light/455215/2 "2019-10-14T03:39:59Z")

</div>

I’m getting this exact same bug actually. It seemed to happen in our project not simply after we upgraded it from 4.22 (or we simply didn’t notice somehow for a few weeks) but in the last week when we edited the intensity on the directional light. Now whenever you look in the general vicinity of where it’s pointing, you lose a significant amount of performance rendering the level unplayable. Deleting the directional light also doesn’t help, despite being deleted it still shows up in the scene rendering and tanks performance.

---

<div class="post-metadata">

**Author:** ![Rijke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rijke](https://forums.unrealengine.com/u/Rijke)\
**Post date:** [October 31, 2019, 4:21pm UTC](https://forums.unrealengine.com/t/4-23-fps-drop-when-facing-direction-of-directional-light/455215/3 "2019-10-31T16:21:21Z")

</div>

Have you used `stat gpu` to see what part of the frame is increasing? I’ve seen this happen before because when the camera is aligned with the light direction, more shadow casters need to render in the shadow depths pass. In your scene it doesn’t look like there are many shadow casting meshes unless your grass is casting shadows? Might have nothing to do with shadows, but `stat gpu` in the console should point you in the right direction.
