Key concepts
- stereo effect (VRStereoEffect)
- VR manager for fullscreen with resizing
Code with testing in the browser(:div2end:)
In particular look at
- the import of VREffect.js
- how it is applied using THREE.VREffect()
- even in it to see how the effect works if you are curious!
- the import of webvr-manager.js
- how it is applied using WebVRManager()
- again feel free to inspect in it to better understand
Overall this is (as of January 2016 at least) Javascript so you can look at the code of what you import. This is important as you can extend it if need be.
Try Mission 2 to naturally use your VR headset!