SkySun
Since 0.6
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
elevation | number | yes | Radians above the horizon. 0 is sunrise, pi/2 is overhead, and a negative value puts the sun below the horizon, which is how dusk and night are written: the dome still lights the scene but the direct beam is off. | ||
azimuth | number | yes | Radians of compass bearing. 0 puts the sun toward -Z; increasing turns it toward +X, counter-clockwise seen from above. Wraps, so 7 and 7 - 2*pi are the same sun. |