THREE.JS / FOUNDATIONS 226

Make it wobble.

RetroPassNode snaps vertices to screen pixels, renders at a smaller nearest-filtered resolution, and can feed a composable CRT stack.

Initializing retro pass—

Preparing vertex snapping, affine UV context, and CRT nodes…

backend
—
architecture
—
view
—
scale
—
texture mode
—
frame ms
—
Retro controlspass node

Retro composite is active with pixel snapping, nearest textures, and CRT nodes.

Pass contractRetroPassNode
retroPass()addon pass

scene + camera

vertex snapscreen space

rounded clip pixels

affine UVcontext override

getUV()

texture levelsLOD policy

level 0

ownershipexplicit cleanup

pass / graph 0

RetroPassNode wraps scene materials, snaps clip-space positions to screen pixels, and owns a reduced nearest-filtered render target.

The official retro example composes the pass with Bayer dithering, posterization, barrel UVs, color bleed, vignette, and scanlines.

Derived from the official retro example, RetroPassNode, TSL, RetroPassNode source, and CRT helpers.

LAB 226 / RETRO PASS