VR WebGL boilerplate example built using three.js
http://caseyyee.github.io/vr-webgl-boilerplate
Basic VR WebGL scene built using three.js for use in VR enabled browsers. This also includes a client library for integration with JAVRIS.
Viewing this example
This example is best viewed using a VR enabled browser. The standard versions of these browsers also work, but you will not get the stereo rendering.
Download Firefox VR enabled builds here:
http://blog.bitops.com/blog/2014/08/20/updated-firefox-vr-builds
Chromium VR:
http://blog.tojicode.com/2014/07/bringing-vr-to-chrome.html
You will also need a compatible VR headset. Currently the Oculus Rift DK1 and DK2 are supported.
Controls
Enter full-screen VR rendering mode by double clicking. Esc to exit
Zero viewport by pressing 'Z'
To use
Clone this repo
git clone [email protected]:caseyyee/vr-webgl-boilerplate.git