A Spotlight emits a cone of light of a certain color. The cone starts at a given position and the direction is given by the orientation. Only objects within the cone are illuminated.
|•||Ambient color: This is the main color of point light. For a spot light this option is turned off.|
|•||Diffuse color: This is color of point light when it shines on matt surfaces.|
|•||Specular color: This is color of point light when it is reflected in shiny surfaces.|
You can select the shape of the light bundle.
|•||Parallel: Select this option to make the light a parallel bundle (e.g. the sun light). For a spot light this option is turned off.|
|•||Spot Exponent [Wide-Narrow]: Select this option to make the light intensity equal in all directions (Wide) or more intensive in the center beam of the spot light (Narrow)|
|•||Spot Angle [0..90]: Select the angle of the cone from 0 degrees (very thin bundle) to 90 degrees (light in all directions).|
Light attenuation defines how the intensity of the light weakens as it travels away from the source. The attenuation is computed based on the following formula:
where k0 is the constant attenuation, k1 is the linear attenuation, k2 is the quadratic attenuation and d is the distance from the light's position to an object.