npm install voxel-vrWebVR voxel.js plugin
Renders the scene side by side in stereo 3D for use with WebVR.
Requires voxel-engine-stackgl,
and game-shell-fps-camera,
load with voxel-plugins.
Replaces the render handler of gl-now to
emit gl-render twice per tick, one for each eye, with the viewport and matrices
set appropriately. If used on a WebVR-enabled browser (experimental Firefox or Chrome),
or on a platform supported by webvr-polyfill,
will attempt to use VR settings from a head-mounted VR device.
Warning: incomplete
* MozVR
* voxel-oculus - Oculus Rift stereo view for three.js-based voxel-engine, includes lens distortion
(note this predates WebVR, with WebVR the browser is expected to perform the lens distortion instead)
* voxel-oculus-vr - uses OculusRiftEffect.js from three.js
* three.js example effects - OculusRiftEffect, StereoEffect, and VREffect (WebVR)
MIT