Overview
Anaglyph 3D, the red-cyan glasses kind, is the oldest and most accessible form of stereoscopic display: it needs no special screen, just cheap filter glasses. This demo renders a deep tunnel of rings and layered objects through Three.js's AnaglyphEffect, with depth presets that let you compare subtle and dramatic stereo, plus a mono fallback for comparison.
How it works
Stereo vision works because your eyes see the world from two slightly different positions, and your brain fuses the two images into depth. An anaglyph renders the scene twice, from left-eye and right-eye cameras separated by a small distance, then encodes each image into different colour channels: left in red, right in green and blue (cyan). The glasses filter each eye so it sees only its image.
AnaglyphEffect wraps the renderer and does this automatically using a StereoCamera, rendering each eye into a render target and combining them with a colour matrix chosen to reduce ghosting (crosstalk between the eyes). The demo's depth presets scale how much parallax the scene produces: subtle keeps everything close to the screen plane for comfort, balanced is a good default, and deep exaggerates separation for impact at the cost of eye strain.
Exploring the demo
If you have red-cyan glasses, put them on (red over the left eye) and switch between presets while looking down the tunnel. Without glasses, toggle between mono and anaglyph to see the colour fringes, which are the parallax itself: the further an object is from the screen plane, the wider its red and cyan offsets.
Practical advice
Saturated reds and cyans look odd in anaglyph because each eye loses part of the colour, so muted palettes work best. Avoid very close objects with big parallax, which cause discomfort. To control eye separation and convergence directly, use the stereo rig sandbox; for headset-based stereo, see the VR preview.