- Home /
XR Second Camera Independent Aspect Ratio
What I want to do is to render a UI Canvas to a render texture, via a second camera, and then display that render texture on an in scene screen. The screen in question is 32:9. In the scene view I can get all this to work. When I go into game mode the UI camera is adjusted to match the XR HMD (Oculus Rift S) which leaves the resultant UI texture cropped or stretched.
I've tried world space and screen space overlay for the canvas. Once in game mode the camera feels like it's locked out as if the XR rig is taking over. Online I've seen others using scripts to update the camera rect and/or aspect ratio. I tried that and did not see any changes.
Any ideas or thoughts are appreciated. Thanks!
Your answer
Follow this Question
Related Questions
Get Sight Line for VR User 0 Answers
How to make a split screen, one for a main camera and one for the VR set camera? 1 Answer
Displaying GUI.box in VR Headset in Scene 0 Answers
Adjusting Camera Field of View in VR (Occulus 2) 1 Answer
How to open the resources from a downloaded game to add another viewpoint? 0 Answers