A class that creates an stereo effect.
Note that this class can only be used with WebGLRenderer. When using WebGPURenderer, use StereoPassNode.
StereoEffect is an addon, and must be imported explicitly, see Installation#Addons.
import { StereoEffect } from 'three/addons/effects/StereoEffect.js';
Constructs a new stereo effect.
renderer
The renderer.
When using this effect, this method should be called instead of the default WebGLRenderer#render.
scene
The scene to render.
camera
The camera.
Sets the given eye separation.
eyeSep
The eye separation to set.
Resizes the effect.
width
The width of the effect in logical pixels.
height
The height of the effect in logical pixels.