I have a VR project for which I am trying to render a canvas to be "always on top" of everything using a separate UI camera as noted here.
I made my UICamera
object a child of the main camera - which is the centerEyeAnchor
object in the OVRCameraRig.
And I set the culling mask for my UICamera
to only show its layer and removed that layer from the main camera (CenterEyeAnchor
).
But in fact the perspective is weird and it seems like the UICamera
is offset a little bit but its transform is zero'd out in the inspector, so I don't why it's displaying so weird.
If I set the culling mask to "Everything"
for both cameras it's still offset a little.