# Poor Quality Shadows

**URL:** <https://forums.unrealengine.com/t/poor-quality-shadows/297583>\
**Category:** Rendering\
**Tags:** unreal-engine, bug-report, editor, Lighting, CPP, question\
**Created:** [October 29, 2014, 12:17pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583 "2014-10-29T12:17:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 12:17pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/1 "2014-10-29T12:17:23Z")

</div>

I am using a source code build of unreal engine 4.5 but this problem has been occurring though all versions for me.

NOTE : i am using real-time shadows with a skylight if that makes any difference and the objects have cast inset shadow enabled

EXTREMELY LOW QUALITY SHADOWS!!!

No matter how high the graphics settings are or how close i get the shadow quality is stupidly poor as iv’e pointed out in the picture below.

 ![19393-poor+shadows.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/c/0bcf1012a6fdd37a5dd6f40fb3caea43a78156f9.png)

but on some other objects they seem to be reasonable?, bear in mind i’m using the same 3D modeling software (3ds max) and the same export/import methods?

The picture below is an example of good shadows.

 ![19394-good+shadows.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/b/d7bf145062168efccc2ba28894da3fa973e117de.png)

Is there anyway to higher the quality of shadows no matter how pc-demanding it is. because this is the one problem that stands between cry-engine and unreal engine.

---

<div class="post-metadata">

**Author:** ![EvilTak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilTak](https://forums.unrealengine.com/u/EvilTak)\
**Post date:** [October 29, 2014, 3:26pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/2 "2014-10-29T15:26:34Z")

</div>

Is your house/building a static object? Static as in static selected instead of movable below the transform variables? If it is static then you will have to build the lighting to get accurate shadow results.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 29, 2014, 3:45pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/3 "2014-10-29T15:45:00Z")

</div>

You need to increase the lightmap resolution for those meshes and the landscape. They may look ok on smaller meshes but you need more resolution for larger meshes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 3:54pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/4 "2014-10-29T15:54:52Z")

</div>

As i said at the beginning “NOTE : i am using real-time shadows with a skylight if that makes any difference and the objects have cast inset shadow enabled”

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 29, 2014, 3:57pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/5 "2014-10-29T15:57:16Z")

</div>

If you are using dynamic lighting then check Settings \> Engine Scalability Settings and make sure shadow quality is set to Epic.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 3:57pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/6 "2014-10-29T15:57:20Z")

</div>

I am using Real-time shadows, so increasing the lightmap resolution does nothing.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 4:00pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/7 "2014-10-29T16:00:32Z")

</div>

Where are these settings? i cant find them, are they in the editor or in the files?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 4:01pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/8 "2014-10-29T16:01:13Z")

</div>

Oh yes i found them and everything was set to max (epic)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 29, 2014, 4:05pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/9 "2014-10-29T16:05:34Z")

</div>

Ok, do this then:

Go to World Settings and find Force No Precomputed Lighting. Enable that and rebuild the lights, and make sure the light source is set to Movable and see how it looks now. Your shadows do look like baked shadows so i’m not sure how that happened if you didnt build the lights yourself. But turning off static lighting with the setting i mentioned should make sure you are using dynamic lights.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 29, 2014, 4:10pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/10 "2014-10-29T16:10:12Z")

</div>

If you’re using Dynamic lighting you’ll want to adjust the shadow bias in the details panel for the directional light. There is a trade-off here though. Lowering the shadow bias will give you artifacts if too low.

If you need sharper shadows for your static objects you may want to take a look at **[Ray Traced Distance Field Soft Shadows](https://docs.unrealengine.com/latest/INT/Engine/Rendering/LightingAndShadows/RayTracedDistanceFieldShadowing/index.html)**.

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 4:18pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/11 "2014-10-29T16:18:44Z")

</div>

Yes, Surprisingly enough iv’e already done all of that and that was my result in the picture.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 4:19pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/12 "2014-10-29T16:19:10Z")

</div>

They were already on all those settings.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 29, 2014, 4:22pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/13 "2014-10-29T16:22:36Z")

</div>

Can you post a screenshot of your directional light’s properties?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 5:13pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/14 "2014-10-29T17:13:30Z")

</div>

![19410-settings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/e/b0ec0ba051ba46829a2216a8d52b7bcb630dc6ca.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 5:16pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/15 "2014-10-29T17:16:17Z")

</div>

Like i said its fine with small objects but not with buildings

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 29, 2014, 5:16pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/16 "2014-10-29T17:16:43Z")

</div>

You’ll need to reduce Shadow Filter Sharpen value, and as a side note, you dont want Min Roughness to be 1 if you want proper reflections from that light source on reflective surfaces.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 5:22pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/17 "2014-10-29T17:22:38Z")

</div>

This problem only really occurs on complex geometry none of the others so i honestly think its a bug in the unreal engine.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 29, 2014, 5:25pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/18 "2014-10-29T17:25:13Z")

</div>

It is not a bug. Can you upload a sample project that replicates this issue please? Or some of the meshes that you see having this problem?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adc3f730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Post date:** [October 29, 2014, 5:32pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/19 "2014-10-29T17:32:47Z")

</div>

I cant, its not worth the hassle of replicating and uploading and all that , i just thought if anybody else had this issue that they could give me a fix, its the model anyway not the project or lighting, its when i import the model for some reason it down grades the lighting quality for that particular model but when i import a different model that’s got less complicated geometry, it has much much better shadow quality.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [October 29, 2014, 7:08pm UTC](https://forums.unrealengine.com/t/poor-quality-shadows/297583/20 "2014-10-29T19:08:02Z")

</div>

Hello 2147,

As Jacky mentioned, this is not a bug but just an improper set up of your scene. The good part is that there is a lot of great documentation on how to resolve your issue, as well as a lot of things to try clean up your shadows. To get you started in the right direction take a look at this documentation on Lightmaps. It addresses the issue you are having as well as gives you an overall explanation how lightmaps function.

> **[UDK: Lightmapping Basics and 18 Important Principles for Creating and Using...](https://worldofleveldesign.com/categories/udk/udk-lightmaps-01-basics-and-important-principles-for-creating-using-lightmaps.php)**
>
> 18 Important Principles for Creating and Using Lightmaps in UDK and lightmapping basics - an introduction

**Although this does reference UDK, the basic principles remain the same**

[Next page](https://forums.unrealengine.com/t/poor-quality-shadows/297583.md?page=2)
