An object that defines properties of a directional light source.
Name | Description | Default | Required |
intensity | Light intensity, in the [0, 1] range | 1.0 | no |
shadow_type | Type of shadowing to use for this light. Valid values are “none”, “shadow_map”, and “raytraced”. | “none” | no |
shadow_softness | If the light casts shadows, this is the softness factor to apply to the shadow. | 0.0 | no |
shadow_bias | For shadow mapped shadows, this is the shadow bias. | 1.0 | no |
{ "intensity" : 0.34, "shadow_type" : "shadow_map", "shadow_softness" : 3.0, "shadow_bias" : 2.8, }