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:
- Create 2 spheres for both eyes and place them at origin.
- Put them in different layers (left and right).
- 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 I don't if camera component is attached to them at runtime in Android build. Is there a way to achieve stereo rendering for this setup?
Thanks in advance.