Sub topic 3
Power, color and size of a lamp
This chapter covers the three properties you adjust most often on a lamp: how much light it emits, what color that light has, and how large the emitter is. It assumes you can move objects in the viewport, find the Light tab in the Properties editor, and have rendered a simple scene with Cycles or EEVEE. The previous chapter covered the four lamp types. Here you learn what their settings do and which mistakes to avoid.
Power: watts are not what you expect
A Point, Spot or Area light has a Power value in watts. A Sun light has Strength instead. These two use different units.
- Point, Spot and Area power is radiant power in Blender watts. It is the total light the lamp emits, spread over its shape. Blender's watts are not the electrical watts printed on a bulb, so a "60 W" Blender lamp is not a 60 W household bulb.
- Sun strength is irradiance in W/m². It is the light arriving at a surface. It does not depend on the sun's position, because a sun lamp models a source that is infinitely far away. Only its rotation matters.
Because a Sun's strength is independent of distance, moving it does nothing. A realistic clear-sky sun is around 3 to 5 strength with Standard view transform. Most other lamps need hundreds or thousands of watts.
Distance and the inverse-square law
For Point, Spot and Area lights, brightness at a surface falls with the square of the distance. Double the distance and the surface receives a quarter of the light. If you move a key light from 2 m to 4 m away, you must multiply its power by 4 to keep the same brightness on the subject.
This is why a lamp that looks right in a test render can become far too dark after you move it back to fit the camera framing. Change the distance, then rescale the power.
Spot lights and power
A Spot light's power is measured as if the light were a Point light of the same power, then cut down by the cone. Narrowing the cone angle does not make the lit area brighter. It only removes light outside the cone. If you want a tight, intense spot, raise the power.
Color
A lamp's Color property is an RGB value. It multiplies the light, so a pure red lamp (1, 0, 0) emits no green or blue and a red surface under it looks bright, while a blue surface looks black.
Practical points:
- Keep colors desaturated. Real light sources are usually only slightly tinted. Values like (1.0, 0.95, 0.9) read as warm, and (0.85, 0.92, 1.0) read as cool.
- Use warm and cool lights together. A warm key with a cool fill separates the lit and shadowed sides of a subject without any strong color.
- Color changes perceived brightness. A saturated blue of the same power looks much darker than white, because the blue channel carries little luminance. If you tint a lamp heavily, you may need to raise its power.
- In Blender 4.x, Cycles and EEVEE also offer a Temperature option on lights (in recent versions, with Use Temperature enabled), which sets color from a Kelvin value. Around 3200 K is tungsten orange, 5600 K is daylight, and 6500 K is slightly blue. Check that your version has it before depending on it.
Size: the control for shadow softness
Each lamp type has a size property, and it is the main control of how soft its shadows are.
| Lamp type | Size property | Meaning |
|---|---|---|
| Point | Radius | Radius of the emitting sphere |
| Spot | Radius | Radius of the emitting disc |
| Sun | Angle | Angular diameter of the sun in the sky, in degrees |
| Area | Size (and Shape) | Edge length of the rectangle, square, disk or ellipse |
A larger source lights a subject from a wider range of directions. Points on the surface inside the shadow edge see only part of the source, which produces the soft transition called the penumbra. A tiny source gives hard, sharp-edged shadows. A large source gives soft ones.
What matters is the size of the lamp relative to its distance from the subject. A 2 m area light 1 m from a face is very soft. The same light 20 m away looks almost like a point and gives hard shadows. The Sun's real angular diameter is about 0.53 degrees. Leaving the default angle gives fairly crisp shadows. Raise it to 2 to 5 degrees for a softer, overcast-leaning look.
Size also affects speed in Cycles. A zero-radius lamp is cheap to sample but gives unrealistic razor-sharp shadows. Very large lamps cost more samples to resolve noise cleanly.
Size changes how bright the light looks
Changing the size of a Blender lamp does not change its power, because power is the total emitted. A bigger lamp of the same wattage is spread over a larger area, so each point on it is dimmer, but the total reaching a nearby surface stays about the same. That makes it easy to soften shadows without re-exposing the shot. The exception is when a large lamp gets close enough that parts of it shine at the subject at a steep angle, so check the result in the render.
Setting these properties with Python
You can set all three properties from a script. This example creates an area light with a specific power, a slightly warm color and a 2 m size.
import bpy
light_data = bpy.data.lights.new(name="Key", type='AREA')
light_data.energy = 1000.0 # power in watts
light_data.size = 2.0 # edge length of the area light in meters
light_data.color = (1.0, 0.95, 0.9)
key = bpy.data.objects.new(name="Key", object_data=light_data)
bpy.context.collection.objects.link(key)
key.location = (4.0, -4.0, 5.0)Note the difference between the light data block and the light object. Power, color and size live on the data block (bpy.data.lights). Location and rotation live on the object. Two objects can share one data block, and then editing the data changes both.
For a Sun, the properties have different names: energy holds the strength in W/m², and angle is in radians, not degrees. Use math.radians(2.0) for a 2 degree sun.
Common errors
- Lamp has no visible effect. The power is too low for the distance. Check the distance first, then raise power by large steps, such as multiplying by 10.
- Using Sun power values on a Point light. Strength 3 is bright for a Sun and nearly black for a Point light.
- Moving a lamp and getting a different exposure. Apply the inverse-square rule instead of adjusting exposure.
- Hard shadows when you wanted soft ones. The lamp is small relative to its distance. Raise its size, or move it closer and lower its power.
- Muddy color. The lamp is oversaturated. Pull saturation down and use a small tint.
- Script angle ignored. Sun
angletakes radians.
Exercise
A Point light with power 400 W sits 2 m from a subject and gives the right brightness. You move it to 6 m. What power gives the same brightness on the subject, and what change would you make to keep the shadows equally soft?
Show answer
The distance is tripled, so brightness drops by a factor of 9. Multiply the power by 9 to get 3600 W. The apparent size of the lamp from the subject also shrinks to a third, so shadows get harder. To keep the same softness, triple the Radius as well.
Exercise
In a script, you want a Sun light with a 3 degree angle. A colleague writes sun_data.angle = 3. What is wrong, and what is the fix?
Show answer
The angle property takes radians, so 3 means about 172 degrees, which is a huge source. Use sun_data.angle = math.radians(3.0) after import math.