# Bad Quality shadows from spotlight (pixelated shadows)

**URL:** <https://forums.unrealengine.com/t/bad-quality-shadows-from-spotlight-pixelated-shadows/383539>\
**Category:** Rendering\
**Tags:** Shadows, spotlight, unreal-engine, lighting-problem, Lighting, question\
**Created:** [January 31, 2017, 9:28pm UTC](https://forums.unrealengine.com/t/bad-quality-shadows-from-spotlight-pixelated-shadows/383539 "2017-01-31T21:28:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xaviprz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xaviprz](https://forums.unrealengine.com/u/xaviprz)\
**Post date:** [January 31, 2017, 9:28pm UTC](https://forums.unrealengine.com/t/bad-quality-shadows-from-spotlight-pixelated-shadows/383539/1 "2017-01-31T21:28:29Z")

</div>

Hello everyone! I have a problem with the shadows in UE4.14.3, the shadows that the spotlight cast are jagged and in bad quality despite of my floor’s lightmaps resolution are 1024 and they are correclty unwrap. It happens only in the shadows form the spotlight, the other shadows that come from the directional they are fine.

This are the shadows comming from the spotlights:

 ![124379-screenshot_20170131150358.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/d/4fd3320befe5166c3b4cb28fc4058452c0667fbc.png)

This are the shadows comming from the sun:

 ![124381-screenshot_20170131150924.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/a/aea1bc250e10f33bc5570956aebf3d4fdf025712.png)

I dont know if it helps but this are the lightmaps settings:

![124383-screenshot_20170131150411.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/5/af52a6ebd28bc8fe0d590c709d44242ccbdf0277.png)

And this are the settings for the spotlight:

 ![124384-screenshot_20170131150445.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/e/b5eff216cf3a6972f857e52332de49904bee8fb7.png)

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Jacubson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jacubson](https://forums.unrealengine.com/u/Jacubson)\
**Post date:** [June 8, 2017, 7:25pm UTC](https://forums.unrealengine.com/t/bad-quality-shadows-from-spotlight-pixelated-shadows/383539/2 "2017-06-08T19:25:26Z")

</div>

Did you find any solution ?

---

<div class="post-metadata">

**Author:** ![atanknomore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atanknomore](https://forums.unrealengine.com/u/atanknomore)\
**Post date:** [June 8, 2017, 9:34pm UTC](https://forums.unrealengine.com/t/bad-quality-shadows-from-spotlight-pixelated-shadows/383539/3 "2017-06-08T21:34:18Z")

</div>

You have to edit the Sharpness of Shadows and Shadow Bias, as well as the range of roughness it affects. Also, increase the Lightmap resolution of the mesh, and then rebuild the lighting.

---

<div class="post-metadata">

**Author:** ![MisterPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/misterpixel/32/629747_2.png) [@MisterPixel](https://forums.unrealengine.com/u/MisterPixel)\
**Post date:** [May 12, 2023, 8:57pm UTC](https://forums.unrealengine.com/t/bad-quality-shadows-from-spotlight-pixelated-shadows/383539/4 "2023-05-12T20:57:40Z")

</div>

@atanknomore How do you do that? I managed to increase the Lightmap resolution of the mesh, but I have no idea how to edit the Sharpness and Bias. Any help? Thanks a lot!
