Properties:
color
(type: color) — default: whitecoords
(type: coord) — fixed coordinate of the directional light (its position won’t change even if the camera be rotated)Add an infinitely far fixed-position light to the scene.
{
"type": "directional",
"color": [1, 1, 1],
"coords": [[2, 2, 2]]
}
{
"type": "directional",
"color": [1, 0.5, 0],
"coords": [[1, 1, 1]]
}