Oculus stereo view for voxeljs.
var createOculus = require('voxel-oculus');
var oculus = createOculus(game, {distortion: 0.2, separation: 5});
oculus.enable();
- separation: eye separation
- distorsion: distorsion factor to compensate lens distortion
- aspectFactor: modify width/height
E.g for 3d TV: distorsion=0 and aspectFactor=0.5