Talos docs

SkySun

Since 0.6
Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
elevationnumberyesRadians 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.
azimuthnumberyesRadians 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.