# CitySample - Enable - Render custom depth pass

**URL:** <https://forums.unrealengine.com/t/citysample-enable-render-custom-depth-pass/2477036>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [April 26, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/citysample-enable-render-custom-depth-pass/2477036 "2025-04-26T13:34:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjeduar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mjeduar](https://forums.unrealengine.com/u/mjeduar)\
**Post date:** [April 26, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/citysample-enable-render-custom-depth-pass/2477036/1 "2025-04-26T13:34:28Z")

</div>

I’m working with the **CITYSAMPLE** project, and I need to enable **CustomDepth Pass** (under _Details panel \> Rendering \> Advanced_) for all objects.

However, I haven’t even been able to enable it for a single object. I tried selecting a building, but the option appears read-only and disabled.

I’m not sure what I’m doing wrong.

Any advice would be greatly appreciated!

Thank you.
