# Is Render in Depth Pass a dead button?

**URL:** <https://forums.unrealengine.com/t/is-render-in-depth-pass-a-dead-button/1261643>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [August 15, 2023, 8:37am UTC](https://forums.unrealengine.com/t/is-render-in-depth-pass-a-dead-button/1261643 "2023-08-15T08:37:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zandermn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zandermn/32/614314_2.png) [@Zandermn](https://forums.unrealengine.com/u/Zandermn)\
**Post date:** [August 15, 2023, 8:37am UTC](https://forums.unrealengine.com/t/is-render-in-depth-pass-a-dead-button/1261643/1 "2023-08-15T08:37:00Z")

</div>

I want a mesh only render to **scene depth** and don’t want it to render in **main pass** and **custom depth(used for something else for the same pixels)**.  
I uncheck render in main pass and keep the check in render in scene depth, then I find out the scene depth will disappear when I uncheck the render in main pass. And the render in scene depth button doesn’t seem to change anything?  
I saw some guy saying need a custom build engine to fix this issue, is there a way to fix it just using the default unreal engine? I am using UE 4.26.

Thanks
