three-stereoeffect
A fork of the stereo effect for npm package
ThreeJS StereoEffect as an npm module.
var StereoEffect = { renderer = canvas: glcanvas renderer scene = camera = 50 width/height 1 1000 cameraposition camera stereoEffect = renderer stereoEffecteyeSeparation = 1; stereoEffect; var geo = 111 var mat = wireframe: true color: 0xffffff var box = geo mat scene} { stereoEffect}
StereoEffect = require('three-stereo-effect')
This module exports a function which accepts an instance of THREE, and returns an StereoEffect class. This allows you to use the module with CommonJS, globals, etc.
The returned function has the following constructor pattern:
stereoEffect = renderer