# How to properly use distance field shadows

**URL:** <https://forums.unrealengine.com/t/how-to-properly-use-distance-field-shadows/1160252>\
**Category:** Rendering\
**Tags:** Shadows, distance-fields, unreal-engine\
**Created:** [May 9, 2023, 2:54pm UTC](https://forums.unrealengine.com/t/how-to-properly-use-distance-field-shadows/1160252 "2023-05-09T14:54:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [May 9, 2023, 2:54pm UTC](https://forums.unrealengine.com/t/how-to-properly-use-distance-field-shadows/1160252/1 "2023-05-09T14:54:20Z")

</div>

![DFS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/f/d5ff1ea978398b38427f910f8322c10903aa5cfd.jpeg)  
 ![DFSA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/2/7e2c6f6763b312cb73505ae8260520e901f9e3ac.jpeg)  
 ![DFSB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/3/c4338bd7d3849f03ac630b879c99afd4e2119f90.jpeg)

I want to use distance field shadows for large area lights, to get cheap realtime soft shadows in VR.

It mostly works great, however I noticed that some objects show this jagged shadows when light is shining on them from certain angle like this box in the images.

And in another case an object was casting this blocky shadow only partially. But only while being viewed from a distance and only in VR.

I tried changing object scale, raising distance field resolution… I haven’t found a solution to this.

Is this a known limitation, or bug, or is there something I’m overlooking while trying to use these shadows?

---

<div class="post-metadata">

**Author:** ![RasikaMamba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RasikaMamba](https://forums.unrealengine.com/u/RasikaMamba)\
**Post date:** [March 13, 2024, 2:24pm UTC](https://forums.unrealengine.com/t/how-to-properly-use-distance-field-shadows/1160252/2 "2024-03-13T14:24:56Z")

</div>

Same problem, but in VR,. been banging my head on the wall trying to figure out this issue. its extremly distracting in VR
