Forum Discussion

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

How to display two separate camera feeds under OVRCameraRig

I'm trying to display two separate camera feeds in Unity in real time, and I've been successful so far using WebCamTexture and two planes.

This was easy in basic Unity as I just needed to attach my script to the planes under MainCamera, but I was unsure how I could achieve the same results when using OVRCameraRig. I've currently got the two planes as children of LeftEyeAnchor and RightEyeAnchor and modified the scripts for each one. This setup seems to be problematic, however, as only the plane under LeftEyeAnchor displays the feed and the plane under RightEyeAnchor doesn't do anything. Could anyone point me in the right direction?

1 Reply

Replies have been turned off for this discussion
  • Have you enabled Use Per Eye Cameras on OVRCameraRig? Also, have you created layers for your planes and updated the camera culling masks? Perhaps the Oculus script does this automatically...I don't recall.