lighting
Installation
SKILL.md
Lighting
Target: Three.js 0.187.0, WebGPU renderer (three/webgpu) and TSL node materials (three/tsl); WebGPU only, no WebGL fallback, no GLSL strings.
This is the general light skill: what lights a scene, what only looks lit, and how many lights
the renderer can carry. Bounce light and probe grids are indirect-lighting; the sky, the sun's
direction and the environment map come from photo-sky; far terrain shade is far-shade.
Three layers
Every lit scene has three things that are easy to confuse:
- Illumination: real lights that shade materials. The sun (
DirectionalLight), the sky fill (HemisphereLightorscene.environment), and local point and spot lights. - Emission: surfaces that look bright.
emissiveNodeon a node material: tubes, signs, windows, indicator lamps. They light nothing. With bloom they glow. - Fixtures: the geometry that holds the light. Housing, mount, diffuser or lens, cable. A fixture has an emissive diffuser and, when its light would be seen on something, a real light under it.