Key concepts

  • stereo effect (VRStereoEffect)
  • VR manager for fullscreen with resizing

Code with testing in the browser(:div2end:)

In particular look at

  1. the import of VREffect.js
    1. how it is applied using THREE.VREffect()
    2. even in it to see how the effect works if you are curious!
  2. the import of webvr-manager.js
    1. how it is applied using WebVRManager()
    2. 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!