# 3D Widget Components ignore Render CustomDepth Pass

**URL:** <https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112>\
**Category:** UI\
**Tags:** custom-depth, unreal-engine, Widget, question\
**Created:** [April 17, 2017, 7:40am UTC](https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112 "2017-04-17T07:40:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hikers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hikers](https://forums.unrealengine.com/u/hikers)\
**Post date:** [April 17, 2017, 7:40am UTC](https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112/1 "2017-04-17T07:40:57Z")

</div>

1.Create widget component to custom blueprint.

2.Set widget component property “Render CustomDepth Pass” enable, add set stencil value 1.

3.Set “Project Settings-\> Rendering-\> Postprocssing-\>Custom Depth-Stencil Pass” “Enable with Stencil”

4.Add post process volume. Add custom material to blendables.

5.Render CustomDepth be ignored.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [April 21, 2017, 2:44pm UTC](https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112/2 "2017-04-21T14:44:52Z")

</div>

Hey hikers,

Thank you for submitting this post. I have reproduced this issue and logged a report for it here: [Unreal Engine Issues and Bug Tracker (UE-44237)](https://issues.unrealengine.com/issue/UE-44237)

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers,

---

<div class="post-metadata">

**Author:** ![A1taiR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A1taiR](https://forums.unrealengine.com/u/A1taiR)\
**Post date:** [January 24, 2018, 12:32pm UTC](https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112/3 "2018-01-24T12:32:53Z")

</div>

I would like to add that this appears only for translucent widget material.

---

<div class="post-metadata">

**Author:** ![wickerman123](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wickerman123/32/1198875_2.png) [@wickerman123](https://forums.unrealengine.com/u/wickerman123)\
**Post date:** [March 13, 2019, 9:37am UTC](https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112/4 "2019-03-13T09:37:47Z")

</div>

That’s because by default, translucent shaders don’t write to the CustomDepth pass.

To get widgets to render in CustomDepth with stencil, open up the “Widget3DPassThrough” master material and enable “Allow Custom Depth Writes.”

---

<div class="post-metadata">

**Author:** ![Bew-de](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bew-de](https://forums.unrealengine.com/u/Bew-de)\
**Post date:** [March 30, 2025, 12:11pm UTC](https://forums.unrealengine.com/t/3d-widget-components-ignore-render-customdepth-pass/391112/5 "2025-03-30T12:11:35Z")

</div>

Omg, you saved me a lot of time searching 😆
