Mode: All modes
Panel: Lamp (Shading context, Lamp sub-context, F5)
A Sun lamp provides light of constant intensity emitted in a single direction. In the 3D view, the Sun light is represented by an encircled black dot with rays emitting from it, plus a dashed line indicating the direction of the light. This direction can be changed by rotating the Sun lamp, as any other object, but because the light is emitted in a constant direction, the location of a Sun lamp does not affect the rendered result (unless you use the “sky & atmosphere” option…).
- Common options
- The Dist, Energy and Color settings are common to most types of lamps, and are described here.
- However, note that as this lamp always uses a constant light falloff, the Dist setting doesn’t have any effect in practice!
Is it true that for Sun and Hemi lamps, Dist has no effect at all? -- Mont29 14:19, 20 June 2009 (UTC).
- The Layer, Negative, No Diffuse and No Specular settings control what the lamp affect, as described in this page.
The Sun lamp has no light falloff settings: it always uses a constant attenuation (i.e. no attenuation!).
Various settings for the appearance of the sun in the sky, and the atmosphere through which is shines, are available. For details, see this page.
“Shadow and Spot” Panel
When a Sun light source is selected the Shadow and Spot panel has the following default layout:
|The Shadow and Spot panel when Sun light source is selected.|
As its only purpose for this lamp is about raytraced shadows, it is described in details here.
In this rendering the light comes from a constant direction and has a uniform intensity. Notice also, that the white specular highlight on each sphere is in the exact same place (discounting of course the perspective effect from the camera’s position being so close to the spheres). This means the actual location of the Sun light itself is not important (for its lighting).
You can find more useful and complete examples about lamps in the “lighting rigs” page.
A Sun lamp can be very handy for a uniform clear day-light open-space illumination.