Skip to content
EASEL.js

DirectionalLight

Per-face or per-vertex depending on material shading mode. Local position determines direction when target is undefined. Traversal reads the explicitly prepared world matrix and never updates matrices implicitly. When target is set, direction is computed as normalize(target world pos - light world pos). No shadow support.