MANUAL STUDY / LIGHTING + SHADOWS
Light is a contract.
A light needs a material, a direction or target, and—when shadows are enabled—explicit renderer, light, and mesh ownership. Change one boundary at a time.
Preparing lighting study—
Creating procedural subjects, light helpers, and shadow-map paths…
- mode
- —
- light
- —
- material
- —
- shadow map
- —
- mesh flags
- —
- draw calls
- —
materials receive lightshadows need three opt-ins
Lighting study failed.The renderer could not initialize.
Direct modes isolate light models and helpers. Shadow modes make renderer.shadowMap, light.castShadow, mesh.castShadow, mesh.receiveShadow, and shadow-camera bounds inspectable. The fake mode is intentionally not a shadow map.
THREE.JS FOUNDATIONS / LIGHTING + SHADOWS