# hair raytrace shadow popping

**URL:** <https://forums.unrealengine.com/t/hair-raytrace-shadow-popping/771558>\
**Category:** Rendering\
**Tags:** unreal-engine, Lighting, question\
**Created:** [February 15, 2023, 6:32pm UTC](https://forums.unrealengine.com/t/hair-raytrace-shadow-popping/771558 "2023-02-15T18:32:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackDwarf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackDwarf](https://forums.unrealengine.com/u/JackDwarf)\
**Post date:** [February 15, 2023, 6:32pm UTC](https://forums.unrealengine.com/t/hair-raytrace-shadow-popping/771558/1 "2023-02-15T18:32:36Z")

</div>

Hi!

I have hair raytraced shadow popping/flickering issue on my render.  
It’s a static camera. There is no Lod on hairs, no binding, no simulation, no animation.

I tried to follow this below thread, but only the deep shadow cast is stable. But I would like to get soft shadows, so I need stable raytraced shadow.

> [@The shadow of the HairGroom asset is flickering.](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358):
>
> I’m using the HairGroom feature. I’ve attached to the skeletal mesh and the Groom shadows appear to flicker in and out. It seems to be happening from a certain point in the local Y coordinate, and is stable at the top. Changing the scale of the actor seems to have reduced the flicker, but I could be mistaken. Also, the reason I thought it was a shadow is because the flickering can be reduced by reducing the value of Hair Shadow Density. How can I get rid of the flickering here? Please help…

Do you have any idea to fix it please?

I’m currently using UE 5.1, hardware raytrace shadows enabled, with only one distant light with 4 rt samples per pixel (I tried 32 samples, it’s still flickering).

Thanks!!!

---

<div class="post-metadata">

**Author:** ![JackDwarf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackDwarf](https://forums.unrealengine.com/u/JackDwarf)\
**Post date:** [February 16, 2023, 11:07am UTC](https://forums.unrealengine.com/t/hair-raytrace-shadow-popping/771558/2 "2023-02-16T11:07:07Z")

</div>

Hi!

I found a solution to fix the flickering/popping shadows from raytraced hair shadows.  
I just enabled the groom shapes attr “Use Attach Parent Bound”.

On my character there are many hair shapes. Their bounding boxes provoke this instability I guess.

Cheers!
