# How to get rid of flickering shadows in hair(DFAO)?

**URL:** <https://forums.unrealengine.com/t/how-to-get-rid-of-flickering-shadows-in-hair-dfao/433356>\
**Category:** Rendering\
**Tags:** occlusion, distance-field-ambie, flickering, unreal-engine, Rendering, question\
**Created:** [September 7, 2018, 9:36am UTC](https://forums.unrealengine.com/t/how-to-get-rid-of-flickering-shadows-in-hair-dfao/433356 "2018-09-07T09:36:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![QinQ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QinQ](https://forums.unrealengine.com/u/QinQ)\
**Post date:** [September 7, 2018, 9:36am UTC](https://forums.unrealengine.com/t/how-to-get-rid-of-flickering-shadows-in-hair-dfao/433356/1 "2018-09-07T09:36:30Z")

</div>

When I enabled DFAO(Distance Field Ambient Occlusion) everything worked as expected except hair shader. When camera gets close to the hair I get flickering shadows. I tried playing with static mesh settings but nothing helped. How can I exclude hair from using DFAO or at least minimize the effect on a particular mesh?

 ![253014-untitled-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/c/19caa6b6014c5095264e92d1d373a174a5ece15c.png)
