THREE.JS / LIGHT CONTRACT

Soft light, explicit dimensions.

The source initializes RectAreaLightUniformsLib, places three colored RectAreaLight instances around a reflective torus knot, and keeps their width, height, intensity, and helper geometry inspectable. This contract retains that native WebGL light path with deterministic local geometry.

ReadyWEBGL2 / RECTAREA
Preparing three rectangular emitters.
lights
—
palette / first color
—
width × height
—
roughness / intensity
—
helpers
—
sample avg / p95
—

This is a native RectAreaLight contract, not the official page’s exact camera, checker scale, torus-knot framing, Stats presentation, or pixel composition. Asset parity, device performance, backend parity, context-loss stress, and whole-example fidelity remain separate boundaries.

Sources: official RectAreaLight example · RectAreaLight docs