Light |
The light source is the component used to illuminate the scene.
The main settings of this object are: light source type, color, brightness. Ambient, Directional, Point, and Spotlight light source types are supported.
Name | Description |
---|---|
Type | The type of light source. |
Brightness | The light's brightness. |
Color | The color of emitted light. |
Attenuation Near | The minimum distance of the source light. |
Attenuation Far | The maximum distance of the source light. |
Attenuation Power | The multiplier of light attenuation power. |
Spotlight Inner Angle | The inner angle of the spot light. |
Spotlight Outer Angle | The outer angle of the spot light. |
Spotlight Falloff | The spot light fall-off. |
Shadows | If active, the light will cast shadows on the surfaces. |
Shadow Intensity | The intensity of the shadows. |
Shadow Bias | Shadow bias moves the shadow away from the light source. Adjusting it may help to fix shadow artifacts. |
Shadow Normal Bias | Normal bias moves the shadow perpendicular to the shadowed surface. Adjusting it may help to fix shadow artifacts. |
Mask | The light mask used by the light source. |
Mask Scale | The scale of the light mask. |
Spotlight Clip Planes | Returns 10 planes. Order: backward plane (0), far distance plane (1) and 8 side planes (2-9). |