Hello,
In my current setup I’m displaying the UI in front of other objects by using the following setup.
- The UI is on a special layer (let’s say VR_UI layer)
- A camera that renders Depth Only and VR_UI layer is a child of my main camera
- The canvas renders in World Space with the event camera being the UI cam.
- The raycaster (OVRRaycaster) has the blocking mask only set to VR_UI.
However the ray isn’t getting blocked by any of the elements present in the UI.
Could someone help me and tell me what I’m doing wrong?