Forum Discussion
gameside.2024
1 year agoExplorer
DepthAPI Occlusion Lit conflict with stencil shader
Hi there, I'm currently working on creating a local multiplayer XR experience that involves both portal effects (using a custom stencil shader) and DepthAPI to allow players to see each other in a...
Sandstedt
9 months agoStart Partner
You can add your meshfilter to the Environment Depth Manager's Mask Mesh Filters, and it will remove it from the depth map. Works for my stencil shaders, at least. It doesn't look the best when using soft occlusion. But it works at least. I have also set the shader to user Environmental Depth Bias -0.07. Worked best for me.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device