10.10.4.5. Lightο
If a mutable has attribute type
as light
, itβs a light. There are directional light and dome light. A light has an intensity
attribute. Specially, a dome light has a texture_path
attribute.
Aside from ordinary attributes of mutables, additional available attributes of lights:
Name |
Type |
---|---|
intensity |
numeric |
color |
numeric, dimension 3 list |
Direct light
In the default pose, a direct light shines towards negative Z-direction.
Dome light
A dome light has light beams coming from all directions.
Additionally, available attributes of dome light:
Name |
Type |
---|---|
texture_path |
string
|
texture_path
is a path to a spherical image that is a skybox. It has a color value in all directions, so that when the camera is rotated, you can see different parts of the image.