video script
- what is VR : immersion
- how do we do that here : split screen in full screeen
- how do we improve that : head tracking in the next mission
Key concepts
- stereo effect (VRStereoEffect)
- VR manager for fullscreen with resizing
- documentation
Code with testing in the browser
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!