# The shadow of the HairGroom asset is flickering.

**URL:** <https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358>\
**Category:** Rendering\
**Tags:** shadow, unreal-engine, question\
**Created:** [October 23, 2020, 7:13am UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358 "2020-10-23T07:13:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a289caf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a289caf](https://forums.unrealengine.com/u/anonymous_user_2a289caf)\
**Post date:** [October 23, 2020, 7:13am UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/1 "2020-10-23T07:13:38Z")

</div>

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 me.

---

<div class="post-metadata">

**Author:** ![bintangpratama](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bintangpratama](https://forums.unrealengine.com/u/bintangpratama)\
**Post date:** [November 2, 2020, 3:27am UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/2 "2020-11-02T03:27:09Z")

</div>

Hope this can be answered soon, I have the same issue and although decreasing the hair shadow density can partially solve the problem, it is still flickering a bit, and the render time goes way up pretty high.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a289caf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a289caf](https://forums.unrealengine.com/u/anonymous_user_2a289caf)\
**Post date:** [November 4, 2020, 2:44am UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/3 "2020-11-04T02:44:14Z")

</div>

It has resolved itself.  
I used this video as a reference.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/b/e8b36b218306816fff360cfe600290735dd7ecc8.jpeg "Unreal Engine: Alembic Hair/Groom Plugin. Official Q&A. Part 1") ](https://www.youtube.com/watch?v=IpSVbYveTQA)

22:38-.

I haven’t figured out the details yet either, but it looks like a voxel shadow setting.  
I was able to suppress it by entering the following ConsoleCommand.

“r.HairStrands.Voxelization.Virtual.VoxelWorldSize 1”

The video says the default is 1, but is the default value different in UE4.25?  
Anyway, that solves the problem I was having.

Also, if you want this to be the default value, you’ll need to put it in your ini file. FYI.

---

<div class="post-metadata">

**Author:** ![MetaRockr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MetaRockr](https://forums.unrealengine.com/u/MetaRockr)\
**Post date:** [July 25, 2021, 9:12pm UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/4 "2021-07-25T21:12:56Z")

</div>

Thanks! Worked like a charm

---

<div class="post-metadata">

**Author:** ![AJ\_Graphix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aj_graphix/32/1194669_2.png) [@AJ\_Graphix](https://forums.unrealengine.com/u/AJ_Graphix)\
**Post date:** [October 22, 2021, 5:29pm UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/5 "2021-10-22T17:29:58Z")

</div>

Thanks so much! In my case, which was just using a relatively short groom for a Metahuman character, I only needed to enable Deep Shadow on the lights to get rid of the noisy shadow on the hair. This seemed to give far more performance than tweaking the other settings shown in the video. However, I also disabled “Cast Shadow” for the Eyebrows, Eyelashes, Moustache, Beard, and Fuzz groom components, since the hair was so thin here a shadow would not be needed (Fuzz shadows should really be “off” by default for Metahumans).

---

<div class="post-metadata">

**Author:** ![rbs250](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rbs250/32/701712_2.png) [@rbs250](https://forums.unrealengine.com/u/rbs250)\
**Post date:** [November 23, 2022, 10:18am UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/6 "2022-11-23T10:18:44Z")

</div>

It happens still in 5.1, these settings together with hair shadow density seems to have fixed that shadow flickering issue.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/3/f/03f17782f935a62f64a49599eb66ada5fed33b3c.png)

---

<div class="post-metadata">

**Author:** ![tomaaron872](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomaaron872](https://forums.unrealengine.com/u/tomaaron872)\
**Post date:** [November 25, 2022, 5:02pm UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/7 "2022-11-25T17:02:12Z")

</div>

Thanks for posting a solution! Where did you get the setting from your screenshot?

---

<div class="post-metadata">

**Author:** ![Dohrahrah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dohrahrah](https://forums.unrealengine.com/u/Dohrahrah)\
**Post date:** [August 27, 2024, 8:02pm UTC](https://forums.unrealengine.com/t/the-shadow-of-the-hairgroom-asset-is-flickering/473358/8 "2024-08-27T20:02:11Z")

</div>

for me what worked it disabling ‘voxelize’ in groom asset in the Strands tab

 ![_groom_ugly_shadow_fix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/3/9c3196851b6cfce20b1d12018d6b68dc3192124c.jpeg)
