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.ambientLightis 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. ChooseTONEMAP_NEUTRAL,TONEMAP_ACES2, orTONEMAP_FILMIC(oncameraFrame.rendering.toneMappingwhen usingCameraFrame), set exposure, then balance light intensities to it. - Shadows are off. Enable
castShadowson the key light. DirectionalshadowDistanceis 40 m, so use cascades for large scenes, andSHADOWUPDATE_THISFRAMEfor static shadows. Size resolution to the framed subject. - Lights shine along local -Y (
apply-conventions).