Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Having trouble with a mask shader - any tips welcome!

Thunderbox.EntThunderbox.Ent Posts: 55 Oculus Start Member
Hi there. I am trying to use the following technique to mask an object:
This works beautifully in the editor, but when I enter VR my masking object is black.
Here is the set-up in editor (I am using a cube to obscure the hexagonal shaft here)...

Here it is in the editor with the game running (working fine - shaft hidden)...

And in VR (mask object is black)...

I am guessing this has something to do with depth buffers or single-pass rendering...
Any suggestions would be most welcome!


  • thewhiteambitthewhiteambit Posts: 304
    They completely broke depth features half a year ago and nobody but me cared.
Sign In or Register to comment.