# Dynamic shadows artifacts

**URL:** <https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine\
**Created:** [January 13, 2017, 8:55am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661 "2017-01-13T08:55:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![netfrag-sam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@netfrag-sam](https://forums.unrealengine.com/u/netfrag-sam)\
**Post date:** [January 13, 2017, 8:55am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/1 "2017-01-13T08:55:47Z")

</div>

I just realized that a default sphere renders different in 4.14 compared to 4.13. It does not seem to happen with imported objects, so far. But as I´m about to start a bigger project I want to make sure I don´t run into trouble because of this, later. See attached screenshot. The 4.14 sphere looks faceted. I tried different lighting and shadow options but I can´t seem to fix it. Maybe it´s just the sphere that is broken ?

---

<div class="post-metadata">

**Author:** ![Chosker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chosker/32/710746_2.png) [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Post date:** [January 13, 2017, 9:17am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/2 "2017-01-13T09:17:54Z")

</div>

I’ve been getting this for a while now, not just 4.14  
curious for a solution

---

<div class="post-metadata">

**Author:** ![Maximum-Dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maximum-Dev](https://forums.unrealengine.com/u/Maximum-Dev)\
**Post date:** [January 13, 2017, 10:57am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/3 "2017-01-13T10:57:45Z")

</div>

Try turning off SSAO and see if the problem disappears.

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [January 13, 2017, 11:33am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/4 "2017-01-13T11:33:10Z")

</div>

I have the exact same problem:  
[https://forums.unrealengine.com/showthread.php?133563-Shading-not-smooth](https://forums.unrealengine.com/showthread.php?133563-Shading-not-smooth)

---

<div class="post-metadata">

**Author:** ![netfrag-sam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@netfrag-sam](https://forums.unrealengine.com/u/netfrag-sam)\
**Post date:** [January 13, 2017, 12:16pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/5 "2017-01-13T12:16:21Z")

</div>

It´s a shadow bias problem with 4.14.(3). I know that low poly objects in some cases may look a little bit faceted.Usually the bias is there to fix this in exchange of accuracy. But this is not the problem here. It´s the way shadow Bias works in 4.14. SSAO makes no difference btw. To reproduce the problem. Create a new project in 4.14.3, place a sphere over the floor object and switch the directional light to moveable. You will notice the facetes in the object. When you now increase the shadow bias to the slider max value of 1 it will get a bit better. If you now set the value even higher by hand to a value of 2 it will get a lot better. When you set it to 5 the problem is gone and the shadows are still there wich is not how it should be with such high bias values. A wild guess, the shadow bias value is getting multiplied in a wrong way in 4.14. or something like that. In 4.13 much smaller values that are still in range of the default slider max value will produce the same result as a value of 5 in 4.14, while a value of 5 in 4.13 will produce no shadows at all with an object of that size.

---

<div class="post-metadata">

**Author:** ![Poet\_11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poet\_11](https://forums.unrealengine.com/u/Poet_11)\
**Post date:** [January 13, 2017, 1:07pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/6 "2017-01-13T13:07:19Z")

</div>

> [@netfrag-sam;650419](#):
>
> I just realized that a default sphere renders different in 4.14 compared to 4.13. It does not seem to happen with imported objects, so far. But as I´m about to start a bigger project I want to make sure I don´t run into trouble because of this, later. See attached screenshot. The 4.14 sphere looks faceted. I tried different lighting and shadow options but I can´t seem to fix it. Maybe it´s just the sphere that is broken ?

This is a shadow problem. from directional light sources plus other such lights. The problem is still present in your second picture and in previous unreal versions, the reason why you don’t see it is because in the other scenes you have a skylight by default , the problem visually diminishes with a skylight or indirect lighting but it is still there. It will really pop out when you want to have detailed shadows in your scenes or when you have slightly high contrast in your lights. Bias will not help you, neither would anything else, it will always appear if you want to have detailed shadows. In addition to the link above here’s my thread about this if you are interested. (check bottom of the thread). No solution to this from what i know so far, you just adjust settings according to angle and shot basis and live with it. I hope in the future Epic will come up with a workflow to make this work seamlessly.

[FBX and normals Import going very wrong! - World Creation - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?132159-FBX-and-normals-Import-going-very-wrong)!

---

<div class="post-metadata">

**Author:** ![netfrag-sam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@netfrag-sam](https://forums.unrealengine.com/u/netfrag-sam)\
**Post date:** [January 13, 2017, 1:22pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/7 "2017-01-13T13:22:08Z")

</div>

I´m sorry, but it´s not. It also happens with skylight. I have both engine versions installed and 4.14 behaves completely different than 4.13. It even looks wrong in the material editor unlike in 4.13. There maybe other issues with the way unreal handles shadows, normals or bias compared to other engines but that´s not what I´m talking about here. Carefully read my last post and you will be able to reproduce my problem, there is something wrong or maybe just different with the Bias in 4.14.

---

<div class="post-metadata">

**Author:** ![Poet\_11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poet\_11](https://forums.unrealengine.com/u/Poet_11)\
**Post date:** [January 13, 2017, 2:29pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/8 "2017-01-13T14:29:40Z")

</div>

> [@netfrag-sam;650520](#):
>
> I´m sorry, but it´s not. It also happens with skylight. I have both engine versions installed and 4.14 behaves completely different than 4.13. It even looks wrong in the material editor unlike in 4.13. There maybe other issues with the way unreal handles shadows, normals or bias compared to other engines but that´s not what I´m talking about here. Carefully read my last post and you will be able to reproduce my problem, there is something wrong or maybe just different with the Bias in 4.14.

If you are speaking of some difference in Bias settings only, then you can try this (I tested it in 4.12 and 4.14 and there is a difference) because by default the r.shadow.maxresolution appears to be set lower in 4.14. When I increased this to 4096 it appeared to match correctly with previous version of unreal.

So to recap, try this in 4.14.  
Type in the console:  
r.Shadow.MaxResolution 4096

But like I said regardless of these minor differences, the problem of facets are still there by default (less visible) and especially when you have higher settings on shadow its not 4.14 only related issue.

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [March 1, 2017, 5:47pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/9 "2017-03-01T17:47:23Z")

</div>

Version 4.15 here. The problem started to occure on 4.12 for me.

 ![ScreenShot00012.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/6/26833785a28b7a7913e93a0faae011b535bfcd2f.jpeg)  
This is a screenshot from within the Material Editor.

Pls fix this already.

---

<div class="post-metadata">

**Author:** ![Chosker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chosker/32/710746_2.png) [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Post date:** [March 1, 2017, 8:51pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/10 "2017-03-01T20:51:29Z")

</div>

I’m surprised this isn’t getting any more attention. So far I haven’t seen this acknowledged from anyone from Epic except for a couple of posts suggesting to play with the shadow settings. And never any reference to the comparisons with older UE4 revisions

I also get this bug and it makes my characters faceted on closeups, and my landscape looks faceted as well (in areas where the shadows have their “boundaries”)

A few threads with the same issue:

> **[FBX and normals Import going very wrong!](https://forums.unrealengine.com/showthread.php?132159-FBX-and-normals-Import-going-very-wrong)**
>
> Hi guys I created an answerhub post with an fbx test file and more images and it’s ongoing, I thought i’d post it here as well just in case someone can help out as we are struggling with this for almost 3 days now! Would like to note that using...

> **[Help with Smoothing and fbx import issues.](https://forums.unrealengine.com/questions/539768/help-with-smoothing-and-fbx-import-issues.html)**
>
> Hello, I’m facing a smoothing or normals issue after import for my skeletal mesh in UE4, I am getting strange dark patches as well as some visible faceted areas on the mesh. I’ve looked up everywhere for answers and tried everything i could think of...

> **[How can I get my FBX character less polygonal?](https://forums.unrealengine.com/showthread.php?136171-How-can-I-get-my-FBX-character-less-polygonal)**
>
> Hello All, When I import my FBX character to UE4 (version 4.14.3) The character looks smooth and really good as I expected. So I export additional FBX Animation files so I can add to the character, but whenever I do this I have a weird error like I...

> **[UE4 triangle shadows bug](https://forums.unrealengine.com/showthread.php?133812-UE4-triangle-shadows-bug)**
>
> This happends in UE 4.14, I just run some older version (4.10) and there wasn’t any problem. Some time ago I found some info that it is connected to normals and it is UE4 bug. What is the priority of fixing this bug? Or maybe I misunderstood...

> **[How to fix jagged shadows on terrain?](https://forums.unrealengine.com/showthread.php?67470-How-to-fix-jagged-shadows-on-terrain)**
>
> I’ve spent hours trying to get these artifacts to go away but it just seems like landscapes cant get a high enough resolution amount of polys around the rounded edges of the terrain slopes to have proper shadows Tried so many different things I’m...

> **[Shading not smooth](https://forums.unrealengine.com/showthread.php?133563-Shading-not-smooth)**
>
> Hi there. On my Mesh, you can clearly see the Triangulation, even though every polygon has the same Smoothign Group: The Normals are genereated with Mikk T-Space

I’m gonna quote this eye opener picture from K

> [@K;643820](#):
>
> Update 3 on this issue:
> 
> Received a confirmation about this issue from another user in answerhub, I wouldn’t be bumping this if i didn’t feel it needs that kind of attention.
> 
> Meanwhile wanted to provide another example with normals going wrong, and here’s a comparison with Untiy this time.
> 
> Edit: to better spot the Facets Directional light must have detailed shadows, in this case the Num of dynamic shadow cascades are bumped up from the default 3 to 6.
> 
> ![6ec28c71b05f4eefbaa217235478ac0ae29837fb.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/c/6ec28c71b05f4eefbaa217235478ac0ae29837fb.jpeg)
> 
> File FBX and Max:
> 
> [120176-geo%20-%20copy.zip](https://forums.unrealengine.com/uploads/short-url/wN8XwjX0ZmBdGmHOpuf5B3hDf32.zip) (75.4 KB)

here’s the same issue (but much less evident) in UDK (then again the UDK sphere is lower poly)

 ![udksphere.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/a/9a67e7e41b01398b5397efc9d62d231d570a3c47.png)

quite sad to not see this issue looked into

---

<div class="post-metadata">

**Author:** ![Maximum-Dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maximum-Dev](https://forums.unrealengine.com/u/Maximum-Dev)\
**Post date:** [March 2, 2017, 12:16am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/11 "2017-03-02T00:16:25Z")

</div>

With 3 shadow cascades I get smooth results. With 4 cascades I have the same problem. Really annoying.

---

<div class="post-metadata">

**Author:** ![Poet\_11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poet\_11](https://forums.unrealengine.com/u/Poet_11)\
**Post date:** [March 2, 2017, 12:41am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/12 "2017-03-02T00:41:47Z")

</div>

> [@Maximum-Dev;674431](#):
>
> With 3 shadow cascades I get smooth results. With 4 cascades I have the same problem. Really annoying.

This is a known issue and from our tests it is not just dependent on shadow cascade count but rather on the shadow distance which adjusts the quality of the shadow detail (not just bias) regardless of the cascades. You can have 1 cascade and still have the issue pop up once you adjust the shadow distance for that shadow detail quality. And once you get to the sweet spot when you think the shadow distance/quality is just right you will have the issue visible as a consequence (note by quality I don’t mean “shadow resolution” but rather the amount of detail in the geometry that the shadow map catches). From all our discussions and posts the problem hasn’t gone away unfortunately.

---

<div class="post-metadata">

**Author:** ![Chosker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chosker/32/710746_2.png) [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Post date:** [March 29, 2017, 9:35am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/13 "2017-03-29T09:35:40Z")

</div>

hi,

any news about this?

---

<div class="post-metadata">

**Author:** ![vebski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vebski](https://forums.unrealengine.com/u/vebski)\
**Post date:** [March 30, 2017, 9:29am UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/14 "2017-03-30T09:29:31Z")

</div>

I am getting same issue since 4.14, this is supper annoying when using procedural meshes. I though my tangents were bad… nope, shadows make everything look like potato.

---

<div class="post-metadata">

**Author:** ![Maximum-Dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maximum-Dev](https://forums.unrealengine.com/u/Maximum-Dev)\
**Post date:** [May 13, 2017, 1:52pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/15 "2017-05-13T13:52:21Z")

</div>

I think it’s about time someone from Epic look into this problem.  
The blocky shading is too problematic.

[![](https://i.imgur.com/ipPbB30.jpg) ](https://i.imgur.com/ipPbB30.jpg)

[![](https://i.imgur.com/Ok2CFVj.jpg) ](https://i.imgur.com/Ok2CFVj.jpg)

---

<div class="post-metadata">

**Author:** ![zeOrb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zeOrb](https://forums.unrealengine.com/u/zeOrb)\
**Post date:** [May 13, 2017, 2:02pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/16 "2017-05-13T14:02:12Z")

</div>

I’m getting this constantly since… 4.14 I guess?

My solution is to either disable Ambient Occlusion in PostProcessing or to increase it radius.  
I doubt it’s okay situation though - there were no issues earlier and all lowpoly meshes without textures by default look ugly in static mesh preview/material preview/etc

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [May 13, 2017, 2:42pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/17 "2017-05-13T14:42:00Z")

</div>

It’s a problem with Cascaded Shadow Maps.  
Try **r.Shadow.CSM.MaxCascades 0**  
It will disable Cascaded Shadow Maps though

---

<div class="post-metadata">

**Author:** ![Maximum-Dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maximum-Dev](https://forums.unrealengine.com/u/Maximum-Dev)\
**Post date:** [May 13, 2017, 4:10pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/18 "2017-05-13T16:10:46Z")

</div>

How can disabling the CSM even be a workaround of any sort .\_.

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [May 13, 2017, 5:48pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/19 "2017-05-13T17:48:43Z")

</div>

ask Epic, not me 😃

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [May 13, 2017, 8:00pm UTC](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661/20 "2017-05-13T20:00:00Z")

</div>

While this particular issue is not UE4-specific, it is clearly manifesting itself waay too much by default.

[http://image.prntscr.com/image/1baf613c61b4416f9075a6663de055be.png](http://image.prntscr.com/image/1baf613c61b4416f9075a6663de055be.png)

You should be able to increase shadow bias and add a bit of sharpening to reduce it. Just as a reminder, that you can push bias past slider limit of 1.

[http://image.prntscr.com/image/f54b4bbee74144ebb2a5fba6141ebb60.png](http://image.prntscr.com/image/f54b4bbee74144ebb2a5fba6141ebb60.png)

If that is not enough, you can modify the way UE4 deals with self-shadow artifacts. Should be somewhere in ShadowFilteringCommon.usf

[Next page](https://forums.unrealengine.com/t/dynamic-shadows-artifacts/82661.md?page=2)
