voxel-vr
v0.1.2
Published
WebVR voxel.js plugin
Downloads
7
Readme
voxel-vr
WebVR 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
See also
- 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)
License
MIT