Sub topic 1
How Light and Shadows Behave: Size, Distance and Softness
Prerequisites
This chapter assumes you can move, rotate and scale objects in the 3D viewport, use the Properties editor, and have rendered a simple scene in Cycles or EEVEE at least once.
How light and shadows behave
The size of a light source controls shadow softness. A small source produces hard shadows with sharp edges. A large source produces soft shadows with gradual edges. Distance matters too. Moving a light farther from the subject spreads its energy, so the light gets dimmer and its shadow looks softer relative to the object.
Choosing a lamp type
Blender has four lamp types, and each emits light differently.
| Lamp | Emits from | Best for |
|---|---|---|
| Point | One spot, in all directions | Bulbs and simple fill |
| Sun | Parallel rays, direction only | Direct daylight |
| Spot | A cone | Accent and stage lighting |
| Area | A flat rectangle or disk | Soft key light |
Area lamps give the most controllable shadows, so use them for most portrait and product work.
Power, color and size of a lamp
Power sets brightness, color sets tint, and size sets shadow softness. The following script creates a warm area light:
import bpy
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)> Blender lamp power is a scale value, not a physical wattage. Adjust it by eye.
Placing lamps: key, fill and rim
A three-point setup uses three lights:
- Key: the main light, the brightest, placed to one side and above the subject.
- Fill: a softer light on the opposite side that lifts the shadows.
- Rim: a light behind the subject that outlines its edges and separates it from the background.
Using the World as a light source
The World is the environment that surrounds the scene. Its color and strength light every object, and it also produces reflections. A bright World can fill in the shadows that your lamps create. When you use strong lamps, lower the World strength so the shadows keep their shape.
Exercise
You want a soft, flattering light for a portrait. Which lamp type and size should you choose, and why?
Show answer
Use an Area lamp with a large size value. A large light source produces soft shadows with gradual edges, which flatter skin.