Forum Discussion
Amblix
11 years agoHonored Guest
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
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
1 Reply
Replies have been turned off for this discussion
- vrdavebOculus StaffThe 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(..).
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago