# How to exclude something from receiving a specific shadows ?

**URL:** <https://forums.unrealengine.com/t/how-to-exclude-something-from-receiving-a-specific-shadows/2034129>\
**Category:** Rendering\
**Tags:** Sky, skylight, Shadows, light, shadow-problem, distance-fields, cast-shadow, unreal-engine\
**Created:** [September 23, 2024, 1:54pm UTC](https://forums.unrealengine.com/t/how-to-exclude-something-from-receiving-a-specific-shadows/2034129 "2024-09-23T13:54:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elites94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elites94](https://forums.unrealengine.com/u/Elites94)\
**Post date:** [September 23, 2024, 1:54pm UTC](https://forums.unrealengine.com/t/how-to-exclude-something-from-receiving-a-specific-shadows/2034129/1 "2024-09-23T13:54:33Z")

</div>

Hello,

Is there any way to prevent my hair skeletal mesh to receive the shadow from the sky light ? (But receive the one from the sun)

reason is that the sky light is causing weird noise on my hair. I tried a lot of things to resolve it and it seems that it is caused by the sky light shadows.  
When I uncheck “cast shadow” on the sky light, then the problem disappear. But I would like to keep them on the environment (since they are really usefull).

I tried to uncheck only “cast dynamic shadow” on the sky light, but strangely it doesn’t work…

I know this as something to do with the distance field ambient occlusion, but again I have no idea why it affects the skeletal mesh (It shouldn’t) and why it is acting like this.

If I make my hair static mesh, the problem is gone (but I can’t keep them as static mesh).

A picture of my problem if it can help :

 ![h1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/5/be5dd6f27de4bbe6f44912292f00358a78a8fc0e.jpeg)

Using 4.26

Thank you for your help ! 🙂
