Use Oculus rift with two webcams to display reality
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

#Oculus Rift and two webcams in unity

This repo is a quick test made in Unity. It allow to use two webcams with the Oculus Rift


Oculus Rift Webcams

##How it works

This code creates a WebCamTexture() for each webcams, on two planes, for the left eye and for the right one.

##Set up

  • Connect two identicals webcams

  • Press play in the Unity editor

###Extra informations

For a nice result, don't hesitate to take some times to calibrate the webcams on the Oculus.

Sometimes you need to invert (physicaly) the webcams to fit them in the oculus rift. To do that, you just have to enable Rotate plane boolean.