light-scene

Installation
SKILL.md

Light and render a scene

Engine defaults give a flat, dark image; change them deliberately. Tune against inspected screenshots, one class of value at a time.

Defaults to change

  • scene.ambientLight is black, so unlit sides render pure black. Light ambient and reflections from an environment atlas or skybox, or set an ambient colour.
  • Cameras default to TONEMAP_LINEAR. Choose TONEMAP_NEUTRAL, TONEMAP_ACES2, or TONEMAP_FILMIC (on cameraFrame.rendering.toneMapping when using CameraFrame), set exposure, then balance light intensities to it.
  • Shadows are off. Enable castShadows on the key light. Directional shadowDistance is 40 m, so use cascades for large scenes, and SHADOWUPDATE_THISFRAME for static shadows. Size resolution to the framed subject.
  • Lights shine along local -Y (apply-conventions).

Use what ships

Installs
248
GitHub Stars
25
First Seen
Aug 20, 2026