# \[RESOLVED\] Metahuman Hair renders on top of translucent materials

**URL:** <https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, Lighting\
**Created:** [November 20, 2022, 1:28am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745 "2022-11-20T01:28:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![indystry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indystry/32/870239_2.png) [@indystry](https://forums.unrealengine.com/u/indystry)\
**Post date:** [November 20, 2022, 1:28am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/1 "2022-11-20T01:28:38Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/d/92dacf199c572eacb0f40e87c73d87131e6a6338.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/4/f947604894f8b2422367faae8ee5e5d0560411c5.jpeg)

Here’s the way to create the problem. Bring in a metahuman with hair.  
Create a cube in front of the metahuman and assign it a new material. Set the material type to translucent and set translucency pass to “Before DOF”. I also changed the Lighting mode to “Surface Forwardshading” to get access to translucency with roughness and normal. However this issue will happen even on the default lighting mode for translucency.  
Create a point light in your scene and place it at a glancing angle (not necessary but shows the issue more clearly).  
Everything renders correctly except the hair. I thought it was an issue with the hair material maybe but if you go into the metahuman BP and assign a new default material, the issue persists.

The only way to make it render correctly is by setting the translucency pass to “After DOF” (which is default) but now the glass or any translucent material doesn’t render correctly when it goes out of focus.

So I am essentially stuck, if I set to before dof to get right DOF, the hair shows up on top, if I set to after dof, the lighting is correct but the DOF is wrong for the glass.  
I need to make a helmet glass for the metahuman so the hair renders behind the helmet glass and also works correctly with DOF.

Any suggestions or is this a UE bug/limitation?

---

<div class="post-metadata">

**Author:** ![Rysone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rysone/32/584170_2.png) [@Rysone](https://forums.unrealengine.com/u/Rysone)\
**Post date:** [January 6, 2023, 9:27pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/2 "2023-01-06T21:27:17Z")

</div>

Did you ever find a solution to this??

I’m using a metahuman with a Space helmet but cant right now because the hair looks ridiculous lol

---

<div class="post-metadata">

**Author:** ![indystry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indystry/32/870239_2.png) [@indystry](https://forums.unrealengine.com/u/indystry)\
**Post date:** [January 27, 2023, 11:42pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/3 "2023-01-27T23:42:00Z")

</div>

No sir, still awaiting a fix! bumping this up in case anyone can either confirm if there is a solution or if this is a bug please!

---

<div class="post-metadata">

**Author:** ![FaradayPrime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FaradayPrime](https://forums.unrealengine.com/u/FaradayPrime)\
**Post date:** [April 5, 2023, 10:28pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/4 "2023-04-05T22:28:21Z")

</div>

I found a fairly stable fix

r.HairStrands.ComposeAfterTranslucency - 0

put this in the console commands for movie render queue as well as in your viewport

@Rysone

---

<div class="post-metadata">

**Author:** ![Ant\_tekk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ant_tekk/32/88707_2.png) [@Ant\_tekk](https://forums.unrealengine.com/u/Ant_tekk)\
**Post date:** [April 11, 2023, 12:10pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/5 "2023-04-11T12:10:35Z")

</div>

> [@FaradayPrime](#):
>
> r.HairStrands.ComposeAfterTranslucency - 0

Helped with my issue too - thanks!

---

<div class="post-metadata">

**Author:** ![indystry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indystry/32/870239_2.png) [@indystry](https://forums.unrealengine.com/u/indystry)\
**Post date:** [April 27, 2023, 8:52pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/6 "2023-04-27T20:52:59Z")

</div>

Haven’t tested this solution but hopefully it will work in my case, thank you sooo much!!!

---

<div class="post-metadata">

**Author:** ![Barabulyko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Barabulyko](https://forums.unrealengine.com/u/Barabulyko)\
**Post date:** [April 30, 2023, 9:32am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/7 "2023-04-30T09:32:24Z")

</div>

r.hairstrands.composeaftertranslucency havnt helped me (tho I’m on 5.0)  
but after some console investigation of commands with r.hairstrands.~ I found the:

**r.HairStrands.DOFDepth = “1”**

which worked like a charm and my metahuman now has reasonable hair render

---

<div class="post-metadata">

**Author:** ![indystry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indystry/32/870239_2.png) [@indystry](https://forums.unrealengine.com/u/indystry)\
**Post date:** [May 4, 2023, 5:59am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/8 "2023-05-04T05:59:02Z")

</div>

Thank you for dropping a second solution!

---

<div class="post-metadata">

**Author:** ![indystry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indystry/32/870239_2.png) [@indystry](https://forums.unrealengine.com/u/indystry)\
**Post date:** [May 4, 2023, 6:51am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/9 "2023-05-04T06:51:43Z")

</div>

Tried this right now and it instantly solved the issue!! Thanks for this!  
Now I can get the hair to render behind the translucent surface and can set the translucency to “Before DOF” to get correct dof as well.

I would mark this as Resolved but I don’t think I can right? Since this is under the discussion category and not under question category?

---

<div class="post-metadata">

**Author:** ![FaradayPrime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FaradayPrime](https://forums.unrealengine.com/u/FaradayPrime)\
**Post date:** [May 4, 2023, 5:43pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/11 "2023-05-04T17:43:33Z")

</div>

yeaaaah buddy!!  
ya that cvar works for the sort of the groom

and setting the dof setting to before is exactly needed for depth of field

glad this is solved!  
resolved indeed

---

<div class="post-metadata">

**Author:** ![B1TZ3R0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B1TZ3R0](https://forums.unrealengine.com/u/B1TZ3R0)\
**Post date:** [December 2, 2023, 9:57am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/12 "2023-12-02T09:57:01Z")

</div>

Oh man, that solved my issue, thanks a lot!

---

<div class="post-metadata">

**Author:** ![Akireda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/akireda/32/88717_2.png) [@Akireda](https://forums.unrealengine.com/u/Akireda)\
**Post date:** [February 21, 2024, 11:54am UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/13 "2024-02-21T11:54:15Z")

</div>

Brillant topic not enough visibility !

---

<div class="post-metadata">

**Author:** ![hardway](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hardway/32/769254_2.png) [@hardway](https://forums.unrealengine.com/u/hardway)\
**Post date:** [October 11, 2026, 1:53pm UTC](https://forums.unrealengine.com/t/resolved-metahuman-hair-renders-on-top-of-translucent-materials/694745/14 "2026-10-11T13:53:32Z")

</div>

Thanks. But how to solve eyes ove glasses? 👁
