Module
Lighting
Physical and intent-oriented lights, environment illumination and shadows.
Raw schema: /schema/1.0/modules/lighting.schema.json
light
type: object · required: id, type
| Property | Type | Required | Constraints |
|---|---|---|---|
id | id | yes | — |
type | "directional" | "point" | "spot" | "area" | "environment" | "natural" | yes | — |
color | color | no | — |
intensity | number | no | min 0 |
intensityUnit | "normalized" | "lux" | "lumens" | "candela" | "watts" | no | — |
temperature | number | no | min 0 |
position | vector3 | no | — |
direction | vector3 | no | — |
targetRef | id | no | — |
softness | number | no | min 0 · max 1 |
falloff | "none" | "linear" | "inverse-square" | no | — |
range | number | no | min 0 |
coneAngle | number | no | min 0 · max 180 |
size | vector2 | no | — |
shadow | object | no | — |
assetRef | id | no | — |
role | "key" | "fill" | "rim" | "background" | "ambient" | "practical" | no | — |
extensions | extensions | no | — |