Skip to main content
Participant
December 6, 2014

WebcamTexture 2 cams, 2 planes, 1 per eye...working but...

I don't know how to use the OVRCameraController or manager to place one plane per eye.

I have two planes stacked on top of each other playing the feeds from two identical webcams. I'm trying to hide one stream from one eye and the other from the other eye.

At first I tried placing the places at eye distance apart and moving the camera anchorpoints for left and right eye but this did not work.

Any tips on how to accomplish this?

I'm getting the attached image at this point
    This topic has been closed for replies.

    1 reply

    Inspiring
    December 11, 2014
    The easiest way is probably to write a script with an OnRenderImage(..) function that uses Graphics.Blit(..) to copy each webcam texture to each eye texture. But there are other ways to do it. You could also draw full-screen quads that are different for each eye. Or you could use Graphics.DrawTexture(..).