U.I. rendering multiple cameras in VR

Hello All

I want to use the Unity UI in VR to render multiple cameras that also respond to the roomscale camera tracking.

The closest example I have found is 2 minutes into this demo:

Any ideas?


Note how the controller interacts. The images are moved without moving the narration at the bottom. I suspect these are just UI elements on a canvas in world space and no additional cameras were required.

I didn’t notice the view portals had parallax. In that case…

You can use Camera.targetTexture to get a secondary camera to render to a texture that you can then display in a canvas object that is set to World Space. If you measure the angle of incidence between your camera and the canvas element you are looking at then you can use that to adjust the viewing angle of the 2nd camera that is rendering to your texture.