Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit61a33237e0

README.md

AreaLight

A rectangular light source on an entity. The rect is centred on the entity's world position, faces along the entity's world rotation applied to face (default "Front", the entity-local -Z that transform.forward reports and that entity:lookAt aims), and spans width by height. A rect under a carrier moves and turns with it. Its light arrives from a surface rather than a point, so shading falls off gradually across a wall, highlights stretch to the shape of the source, and shadows carry a penumbra that widens with the rect's size and the caster's distance.