# Depth only static meshes/custom depth are not working on Meta Quest 3

**URL:** <https://forums.unrealengine.com/t/depth-only-static-meshes-custom-depth-are-not-working-on-meta-quest-3/1622252>\
**Category:** Rendering\
**Tags:** oculus-quest, custom-depth, oculus-vr, unreal-engine\
**Created:** [January 17, 2024, 7:54pm UTC](https://forums.unrealengine.com/t/depth-only-static-meshes-custom-depth-are-not-working-on-meta-quest-3/1622252 "2024-01-17T19:54:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArchLinus123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArchLinus123](https://forums.unrealengine.com/u/ArchLinus123)\
**Post date:** [January 17, 2024, 7:54pm UTC](https://forums.unrealengine.com/t/depth-only-static-meshes-custom-depth-are-not-working-on-meta-quest-3/1622252/1 "2024-01-17T19:54:16Z")

</div>

I’m trying to create a portal in my mixed reality game on Quest 3. My approach to this is to have an invisible mesh which only renders in the depth pass, to act as a blocker for objects behind the portal.

On my mesh I have “render in depth pass” checked, and unchecked “render in main pass”. This works great in the XR simulator, but when I try to actually run it on the quest, it doesn’t work.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/f/8af8f1b7ae2e9b5c19302271203cc89c47f2c61e.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/e/e1e6220a3fde966e341a78b6649a7db1e2a7ba3a.jpeg)

I’ve also tried using a custom depth approach, where I render the invisible wall to custom depth, and then use a post processing shader to overwrite these areas with 0 alpha. This again works great in the XR simulator but does not work on the actual quest 3. It seems that post processing materials are not supported on quest.

So my question is, is there any way to render a depth only mesh on quest 3, or any way to do post processing effects on quest 3? Or is there any other technique I can use to achieve this same effect.

---

<div class="post-metadata">

**Author:** ![Oly\_Spinks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oly\_Spinks](https://forums.unrealengine.com/u/Oly_Spinks)\
**Post date:** [March 14, 2024, 11:18pm UTC](https://forums.unrealengine.com/t/depth-only-static-meshes-custom-depth-are-not-working-on-meta-quest-3/1622252/2 "2024-03-14T23:18:08Z")

</div>

Hi, Did you find a solution to this? I’ve had a similar issue trying to hide back faces on a hologram.

Best

Oly

---

<div class="post-metadata">

**Author:** ![SparroachZA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SparroachZA](https://forums.unrealengine.com/u/SparroachZA)\
**Post date:** [March 28, 2025, 10:01pm UTC](https://forums.unrealengine.com/t/depth-only-static-meshes-custom-depth-are-not-working-on-meta-quest-3/1622252/3 "2025-03-28T22:01:32Z")

</div>

Post-processing custom depth and stencil, with (Mobile HDR enabled) I only got working by turning off Mobile Multi-view, but that caused crashes on my Quest 3.

---

<div class="post-metadata">

**Author:** ![IdeaThing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IdeaThing](https://forums.unrealengine.com/u/IdeaThing)\
**Post date:** [April 20, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/depth-only-static-meshes-custom-depth-are-not-working-on-meta-quest-3/1622252/4 "2025-04-20T15:26:28Z")

</div>

So in the end you managed to use post processing on standalone?
