Function: lightVector()
ts
function lightVector(angle?): Vec;Where light comes from, as a unit vector pointing from the surface towards the light. angle is in degrees clockwise from the top, like CSS angles: 0 from above, 90 from the right, 315 (the default) from the top left.
Parameters
| Parameter | Type | Default value |
|---|---|---|
angle | number | 315 |