Sub topic 3
Power, Color, and Size of a Lamp
Prerequisites: You should know how to navigate the 3D Viewport, use the Properties editor, and render a simple scene in Cycles or EEVEE. You should also understand that a lamp object has a transform, while its light data contains settings such as power, color, and size.
A lamp’s result depends on three connected properties:
- Power controls how much light the lamp emits.
- Color controls the tint of the emitted light.
- Size controls how broadly the light appears to come from, which affects shadow softness.
These settings interact with distance and lamp type. Doubling power does not automatically make an image look twice as bright if the lamp is far from the subject or if exposure changes.
Power depends on lamp type
Blender stores the light settings in the lamp’s data block. The Energy field is the main brightness control, but its meaning differs slightly by type.
| Lamp type | Main brightness control | Important size or shape control |
|---|---|---|
| Point | Energy | Shadow Softness |
| Spot | Energy | Spot Size, Blend, Shadow Softness |
| Area | Energy | Shape and Size |
| Sun | Energy | Angle |
Point, spot, and area lights behave like local sources. Their illumination decreases as they move farther from a subject. A Sun light represents distant, nearly parallel rays, so moving it does not change brightness.
Start with moderate power and adjust the light’s distance before using extremely high values. A close light can create strong falloff and dramatic contrast. A distant light produces a more even result.
Color changes the light, not the material
A lamp’s color tints the light that reaches surfaces. A warm area light can resemble a tungsten practical light. A cool fill light can suggest sky illumination.
Use color carefully. Two colored lamps can combine into white light where they overlap, but they can also create muddy or unexpected colors. Keep the key light close to neutral while learning, then introduce color into the fill or rim light.
The color picker uses RGB values. In Python, RGB components are normally written as values from 0.0 to 1.0.
Size controls shadow softness
A larger emitting surface produces softer shadows because the subject receives light from a wider range of directions. A small area light creates sharper shadow edges. For a Point light, Shadow Softness gives the source an apparent radius. For a Sun light, Angle controls the spread of its rays and therefore shadow softness.
Increasing an Area light’s size does not simply make it brighter. It changes the source’s apparent size. You may need to adjust Energy separately after changing Size.
import bpy
# Create an area light data block and an object that uses it
light_data = bpy.data.lights.new(name="Key", type='AREA')
light_data.energy = 1000.0
light_data.size = 2.0
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)The values are starting points, not universal recipes. A dark subject, a large room, and a wide camera view may need different settings.
Exercise
A portrait has very hard shadows from an Area light. Which property should you change first, and what side effect should you expect?
Show answer
Increase the Area light's Size. The shadows should become softer, but the scene may also become less bright or differently distributed, so adjust Energy if needed.