Sub topic 2
Choosing a lamp type
This chapter assumes you can move around the 3D viewport, use the Properties editor, and have rendered a simple scene in Cycles or EEVEE. The previous chapter covered how light size and distance control shadow softness. Here you apply that to Blender's four lamp types: Point, Sun, Spot and Area. By the end you should be able to pick one from the lighting goal, and you should know the errors that come from picking the wrong one.
What a lamp type is
In Blender, a light object has a data block of type Light. The type property of that data block decides how the light emits. All four types share power (energy), color and shadow settings. They differ in these ways:
- Where the light comes from: a point, a direction, or a surface.
- How the light falls off with distance.
- Which size parameter sets the shadow softness.
- Whether the object's position, rotation, or both matter.
The type does not change what the light looks like on its own. It changes what you can control. A Sun has no useful position, and a Point light has no useful rotation. Choosing a type means choosing which of these controls you want.
Point light
A Point light emits equally in all directions from a single position. Its shadow_soft_size property (labeled Radius in the UI) turns it into a small glowing sphere. A radius of 0 gives hard, razor-edged shadows. Larger radii give softer shadows.
Use a Point light for:
- Bare bulbs, candles and small lamps.
- Quick fill light that spreads in every direction.
- Practical lights placed inside a scene.
Rotating a Point light does nothing visible. Its brightness falls off with the square of the distance, so moving it closer makes a large difference.
Sun light
A Sun light models a source so far away that all its rays are parallel. Three things follow from that:
- Position is irrelevant. Only the rotation of the object sets the light direction.
- There is no falloff. A subject at 1 m and a subject at 100 m receive the same light.
- The power unit is different. A Sun is set by
Strengthin watts per square meter (W/m²), not by total watts.
The softness of Sun shadows comes from angle, the angular diameter of the sun disc. The real sun is about 0.53 degrees. Raising the angle softens shadow edges, and a value near 0 gives hard shadows.
Typical values are a strength of 2 to 5 for a sunny exterior under the default view transform. Values far above 10 usually mean something else in your exposure chain needs adjusting, which a later chapter covers.
Spot light
A Spot light is a Point light with a cone mask. It has the same position, falloff and radius behavior, plus two cone controls:
spot_sizeis the cone angle, stored in radians and shown in degrees.spot_blendis the edge softness, from 0 (a hard edge) to 1 (a fully feathered edge).
Narrowing the cone does not concentrate the light. A Spot with the same power as a Point light produces the same intensity inside the cone, and it simply discards the light outside it. If you narrow the cone and expect a brighter beam, you will be disappointed. Raise the power instead.
Use a Spot light for:
- Stage lighting and flashlights.
- Hard-edged pools of light on a wall or floor.
- Isolating light to part of a scene without using light linking.
Aim it with the object's rotation, or with a Track To constraint as shown in the scripting chapter. The light shines along the local -Z axis.
Area light
An Area light emits from a surface. You choose the shape (SQUARE, RECTANGLE, DISK or ELLIPSE) and its size. A rectangle uses size for the X dimension and size_y for the Y dimension.
Because the source has real width, shadows get softer with distance from the occluder and wider with the light's size. This is the behavior you saw in the previous chapter, and it is why Area lights give the most natural-looking studio results. Use them for:
- Softboxes and studio key lights.
- Windows.
- Ceiling panels and light strips.
An Area light emits in a hemisphere in front of its surface, and its spread property narrows that into a more directional beam. Rotation matters, and the light faces along local -Z. The back of the panel emits nothing.
Cycles handles Area lights well. In EEVEE, large Area lights are more expensive and can show approximation artifacts, which the Cycles-versus-EEVEE chapter covers.
Comparison
| Type | Position matters | Rotation matters | Power unit | Softness control | Falloff |
|---|---|---|---|---|---|
| Point | Yes | No | Watts | `shadow_soft_size` (radius) | Inverse square |
| Sun | No | Yes | W/m² (Strength) | `angle` | None |
| Spot | Yes | Yes | Watts | `shadow_soft_size`, plus cone `spot_blend` for the edge | Inverse square, cone-limited |
| Area | Yes | Yes | Watts | `size`, `size_y` | Inverse square, from a surface |
Creating each type with Python
Creating lights in bpy follows one pattern for all four types. Only the type string and the type-specific properties change.
import bpy
import math
def add_light(name, kind, energy, location):
data = bpy.data.lights.new(name=name, type=kind)
data.energy = energy
obj = bpy.data.objects.new(name=name, object_data=data)
bpy.context.collection.objects.link(obj)
obj.location = location
return obj
# Point: small bulb with a soft edge to its shadows
point = add_light("Bulb", 'POINT', 500.0, (0.0, 0.0, 3.0))
point.data.shadow_soft_size = 0.1
# Sun: direction comes from rotation only
sun = add_light("Sun", 'SUN', 3.0, (0.0, 0.0, 10.0))
sun.data.angle = math.radians(0.53)
sun.rotation_euler = (math.radians(50), 0.0, math.radians(30))
# Spot: 45 degree cone with a feathered edge
spot = add_light("Spot", 'SPOT', 1000.0, (3.0, -3.0, 4.0))
spot.data.spot_size = math.radians(45)
spot.data.spot_blend = 0.2
# Area: rectangular softbox
area = add_light("Softbox", 'AREA', 800.0, (-3.0, -3.0, 3.0))
area.data.shape = 'RECTANGLE'
area.data.size = 3.0
area.data.size_y = 1.0Note that the Sun's location is set but has no effect on the lighting. Only its rotation matters.
Common errors
These mistakes come up repeatedly when choosing a type:
- Using a Point light for a window. The result is a hard, small-source shadow. Switch to an Area light and match its size to the window.
- Using a Sun for an interior lamp. A Sun ignores distance, so it floods the whole scene. Use a Point or Area light.
- Expecting a Sun to be set in watts. A Sun at 1000 is not a 1000 W lamp. It is 1000 W/m², which is extremely bright. Start near 3.
- Narrowing a Spot cone to brighten it. The cone only cuts light off. Increase
energyinstead. - Rotating a Point light to aim it. Nothing happens. If you need direction, use a Spot or an Area light.
- Pointing an Area light away from the subject. Its back side emits nothing. Check the arrow shown in the viewport, or use a Track To constraint.
Mixing types
A scene can use several types together. A common combination is a large Area light as the key, a Point light as a weak fill, and a Spot for a rim or accent. Using a Sun together with an Area light is also common for interiors with a window, where the Sun supplies the direct beam and the Area light stands in for sky light through the opening. The next chapters cover power, color and placement, which decide how these lights balance.
Exercise
You need to light an outdoor product shot with parallel shadows that stay identical no matter where the product sits in the frame, and you want the shadows slightly soft. Which lamp type do you use, and which property do you adjust to soften the shadows?
Show answer
Use a Sun light, because its rays are parallel and it has no falloff, so position never changes the result. Increase its angle property to soften the shadow edges. A larger angle gives a softer shadow, and a value near 0 gives a hard one.
Exercise
You narrow a Spot light's cone from 90 to 30 degrees and the lit area looks no brighter. Why, and what do you change to get a brighter beam?
Show answer
A Spot light's cone only masks the light. It does not concentrate it, so the intensity inside the cone matches a Point light of the same power. Raise the light's energy value to get a brighter beam.