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:

  1. Illumination: real lights that shade materials. The sun (DirectionalLight), the sky fill (HemisphereLight or scene.environment), and local point and spot lights.
  2. Emission: surfaces that look bright. emissiveNode on a node material: tubes, signs, windows, indicator lamps. They light nothing. With bloom they glow.
  3. 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.
Installs
109
GitHub Stars
8
First Seen
Nov 12, 2026