This project demonstrates OSVR integration with the Unity VR Samples project available on the Unity Asset Store as of the Unity 5.3 release.
To convert the scenes to be OSVR compatible, the following steps were taken:
-
Uncheck "Virtual Reality Supported" in Player Settings -- Unity only supports Oculus with this feature at this time.
-
Add a ClientKit and DisplayController to the scene.
-
Add a VRViewer component to MainCamera.
-
Replace instances of InputTracking.GetLocalRotation with the rotation of the MainCamera.