Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
SeifertC's avatar
SeifertC
Honored Guest
10 years ago
Solved

Oculus Mirror is offset for a game in Unity. How do I recenter?

It looks like my camera on the Oculus mirror (displaying on my desktop) is shifted 200 pixels up and to the left for some reason. How can I get it back to being centered like it is in the headset (which looks fine)?

Anyone know if there's a way to customize your mirror settings or camera configurations?

Thanks!
  • The mirror display shows a cheap preview that is simply copied from the left eye buffer with a scaled pan & scan to make it fit the resolution you've chosen for the main monitor window. If the window's aspect ratio is wider than the eye buffer's (which it usually is), then the top and bottom regions of the image will be cropped. You can fix this by making your preview window resolution match the eye buffer resolution or by adding a Camera to your scene and setting its "Target Eye" to "None (Main Display)".

1 Reply

Replies have been turned off for this discussion
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    The mirror display shows a cheap preview that is simply copied from the left eye buffer with a scaled pan & scan to make it fit the resolution you've chosen for the main monitor window. If the window's aspect ratio is wider than the eye buffer's (which it usually is), then the top and bottom regions of the image will be cropped. You can fix this by making your preview window resolution match the eye buffer resolution or by adding a Camera to your scene and setting its "Target Eye" to "None (Main Display)".