Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
infinite360vr's avatar
9 years ago

How to display stereo photosphere in Unity - Gear VR

I am following this tutorial to view Stereo image in Unity3D. Unfortunately it only covers Oculus Rift and Google Cardboard. Both of there SDKs have two separate cameras for left eye and right eye. Here is a summary of how to do it:

  1. Create 2 spheres for both eyes and place them at origin.
  2. Put them in different layers (left and right).
  3. Set culling mask of each camera (left eye and right eye) to left layer and right layer respectively.

PROBLEM:

In Gear VR camera setup, Oculus SDK is using only one camera component which is on CenterEyeAnchor child of OVRCameraRig:

I don't know how to apply the above procedure in this case. I know there are 2 transforms LelftEyeAnchor and RightEyeAnchor which are used for stereo view but There is always one camera in the scene. Is there a way to achieve stereo rendering for this setup?

Thanks in advance.

11 Replies

Replies have been turned off for this discussion