# Dynamic Shadow from Stationary Point Light in Forward Renderer only partially visible after light bake

**URL:** <https://forums.unrealengine.com/t/dynamic-shadow-from-stationary-point-light-in-forward-renderer-only-partially-visible-after-light-bake/403809>\
**Category:** Rendering\
**Tags:** dynamic-shadows, unreal-engine, stationary-light, Rendering, Lighting, question\
**Created:** [September 5, 2017, 4:02pm UTC](https://forums.unrealengine.com/t/dynamic-shadow-from-stationary-point-light-in-forward-renderer-only-partially-visible-after-light-bake/403809 "2017-09-05T16:02:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b26118e51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b26118e51](https://forums.unrealengine.com/u/anonymous_user_b26118e51)\
**Post date:** [September 5, 2017, 4:02pm UTC](https://forums.unrealengine.com/t/dynamic-shadow-from-stationary-point-light-in-forward-renderer-only-partially-visible-after-light-bake/403809/1 "2017-09-05T16:02:05Z")

</div>

Before building light:

 ![212365-1-unbuilt.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/6/aa6383928fcf8ab24f8de8ab4068cc5a485a1bef.png)

After building light:

 ![212366-2-built.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/e/5beca45a1e71eef496be5ec90e74768bc909eaf7.png)

Gif of behavior: [2017-09-05 16-10-43 GIF | Gfycat](https://gfycat.com/widenextkingsnake)

This only occurs in 4.17 with the forward renderer enabled, tried in 4.15 and 4.16 but the shadow works properly in those versions. Steps to replicate:

1. Create an empty 4.17 project
2. Enable Forward Rendering
3. Create a big static cube, smaller movable cube and stationary point light
4. Bake lighting

I hope I’m missing some obvious new setting in 4.17, anybody got any idea how to fix this?

---

<div class="post-metadata">

**Author:** ![broccula](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@broccula](https://forums.unrealengine.com/u/broccula)\
**Post date:** [September 6, 2017, 12:25am UTC](https://forums.unrealengine.com/t/dynamic-shadow-from-stationary-point-light-in-forward-renderer-only-partially-visible-after-light-bake/403809/2 "2017-09-06T00:25:53Z")

</div>

we’re seeing this too

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [September 6, 2017, 2:59pm UTC](https://forums.unrealengine.com/t/dynamic-shadow-from-stationary-point-light-in-forward-renderer-only-partially-visible-after-light-bake/403809/3 "2017-09-06T14:59:49Z")

</div>

Hello MXII,

After doing some digging I was able to find that this is a known issue. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: [Unreal Engine Issues and Bug Tracker (UE-48146)](https://issues.unrealengine.com/issue/UE-48146)

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a8ba19bb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a8ba19bb](https://forums.unrealengine.com/u/anonymous_user_a8ba19bb)\
**Post date:** [September 7, 2017, 7:05pm UTC](https://forums.unrealengine.com/t/dynamic-shadow-from-stationary-point-light-in-forward-renderer-only-partially-visible-after-light-bake/403809/4 "2017-09-07T19:05:58Z")

</div>

Pretty sure this edit to ShadowProjectionPixelShader.usf (at line 232, as of the 4.17 release in UE4-QA) fixes it:

```
	float4 HomogeneousWorldPosition = mul(float4(ScreenPosition.xy * SceneW, SceneW, 1), View.ScreenToWorld);    

```

becomes

```
	float4 HomogeneousWorldPosition = mul(float4(ScreenPosition.xy, SceneW, 1), View.ScreenToWorld);

```
