# Soft Shadows for sun

**URL:** <https://forums.unrealengine.com/t/soft-shadows-for-sun/110130>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [April 27, 2018, 1:47pm UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130 "2018-04-27T13:47:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e694f4dc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e694f4dc](https://forums.unrealengine.com/u/anonymous_user_e694f4dc)\
**Post date:** [April 27, 2018, 1:47pm UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130/1 "2018-04-27T13:47:58Z")

</div>

Hi everyone,  
Is there any way to made softer shadows in sun settings without bias? (for sun moving process for e.g)  
I looking for kind of ambient oclusion effect. Like… when you are outsite, and the cloudy sky cover the sun.

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [April 27, 2018, 3:31pm UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130/2 "2018-04-27T15:31:18Z")

</div>

You’d probably want to use no sun, only skylight, but using distance field ambient occlusion for the shadows.

Or bake the lighting and use capsule shadows for the indirect shapess.

Or something in-between.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e694f4dc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e694f4dc](https://forums.unrealengine.com/u/anonymous_user_e694f4dc)\
**Post date:** [May 2, 2018, 10:15am UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130/3 "2018-05-02T10:15:27Z")

</div>

Thanks ZacD for your reply,  
Ive try to activate skylight ambient occlusion, by toggling mobility to movable, and got that kind of results…

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [May 2, 2018, 10:38am UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130/4 "2018-05-02T10:38:03Z")

</div>

Make sure you are following the distance field guidelines in the wiki.

> **[Distance Field Ambient Occlusion](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/LightingAndShadows/DistanceFieldAmbientOcclusion/)**
>
> An overview of using Mesh Distance Fields to create dynamic ambient occlusion for SkyLights.

The mesh should be evenly scaled.

The mesh should be solid.

Check Show \> Visualize \> Distance Fields Ambient Occlusion - and make sure nothing weird is going on.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e694f4dc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e694f4dc](https://forums.unrealengine.com/u/anonymous_user_e694f4dc)\
**Post date:** [May 7, 2018, 12:10pm UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130/5 "2018-05-07T12:10:50Z")

</div>

Thank you very much.  
For now, there is only problem with primitives, They cast weird shadow, like youv seen on the picture. I will check ambient oclusion in the bigger scale.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e694f4dc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e694f4dc](https://forums.unrealengine.com/u/anonymous_user_e694f4dc)\
**Post date:** [May 16, 2018, 8:42am UTC](https://forums.unrealengine.com/t/soft-shadows-for-sun/110130/6 "2018-05-16T08:42:51Z")

</div>

Okay, its work, ive combine it with shadow res scale, and its work well for me. Thank you
