Sub topic 4
Reading the Light in Your Scene
This chapter assumes you can work with layers, make selections, and use the Move and Transform tools. You will learn to read three properties of the light in a photograph: direction, hardness, and color. Every shadow and reflection you build later in this tutorial depends on these three readings. If they are wrong, no amount of blur or masking will make the effect look believable.
Why light analysis comes first
A cut-out subject looks fake when its shadow disagrees with the scene. The viewer may not know why it looks wrong, but they notice. The shadow falls the wrong way, has an edge that is too sharp or too soft, or is a flat gray where the surroundings are warm or cool.
The fix is to study the background photo before you touch the subject. You are looking for evidence already in the image. Treat the photo as the reference, and do not rely on what you think a shadow should look like.
Direction: where the light comes from
Direction decides which way shadows fall and how long they are. Shadows fall away from the light source. A light source that is low produces long shadows. A light source that is high produces short shadows.
Finding the direction from existing shadows
Look for objects in the background that already cast shadows. Pick several, because one object can mislead you.
- Find a point on an object that is clearly the top of something, such as the top of a post or the corner of a box.
- Find where the shadow of that same point lands on the ground.
- Draw a line through both points.
- Repeat for two or three more objects.
In a photo with one dominant light source, such as the sun, these lines are parallel or nearly parallel in the real world. In the image they may appear to converge toward a point on the horizon or away from the camera, because of perspective. The point where they meet in the image is the position of the light source projected onto the ground, or its opposite.
You can do this in Photoshop. Create a new empty layer, choose the Line tool or the Pen tool with a thin stroke, and draw guide lines through each pair of points. Delete the layer when you are done.
Light in front, behind, or beside the subject
The position of the light relative to the camera changes what you build.
| Light position | Where shadows fall | What you see on the subject |
|---|---|---|
| Behind the subject, facing the camera | Toward the camera, in front of the subject | Bright rim edges, dark front |
| In front of the subject, behind the camera | Behind the subject, often hidden | Evenly lit front, short visible shadow |
| To the left | To the right | Left side bright, right side darker |
| To the right | To the left | Right side bright, left side darker |
| Directly overhead | Straight down, close to the base | Dark under edges, bright top surfaces |
Also check the subject itself. If you cut out a person who was photographed lit from the left, but your scene is lit from the right, the shadow you draw will contradict the highlights on the subject. In that case you may need to flip the subject horizontally with Edit > Transform > Flip Horizontal, or choose a different subject photo.
Hardness: how sharp the shadow edge is
Hardness describes how quickly a shadow changes from dark to light at its edge. It depends on the size of the light source relative to the subject.
- A small or distant light, such as the midday sun or a bare bulb, produces hard shadows with crisp edges.
- A large or close light, such as an overcast sky, a window, or a softbox, produces soft shadows with blurry edges.
Hardness is not constant across a single shadow. The shadow edge is sharpest where the subject touches the ground and blurs as the shadow stretches away. This is called the penumbra growing with distance. You will use this fact in the chapters on contact shadows and shadow softness.
Reading hardness from the photo
Zoom in to 100% on an existing shadow in the background and look at the edge.
- If the edge goes from dark to light over a few pixels, the light is hard.
- If the edge fades over dozens of pixels, the light is soft.
- If there are no distinct shadows at all, the sky is likely overcast. Expect only a faint, dark pool right under objects.
Write down an approximate blur distance. For example, "the edge fades over about 20 pixels at 100% zoom". You will use this number later as a starting value for Gaussian Blur. Remember that the number depends on image resolution. A 20 pixel fade in a 1000 pixel wide image is about 2% of the width. In a 6000 pixel image the same softness is about 120 pixels.
Color: what the shadow is made of
A shadow is not black. A shadow is an area that does not receive light from the main source, but it still receives light from everything else. In daylight, shadows pick up the color of the sky and surrounding surfaces.
- Outdoors in sun, the main light is warm (yellow to orange) and shadows are cooler, often blue.
- Indoors under tungsten bulbs, the main light is orange, and shadows lean toward a duller, cooler brown or blue.
- On colored surfaces such as grass or a red floor, shadows pick up some of that color through bounced light.
Sampling shadow color
Use the Eyedropper tool to sample the darkest part of an existing shadow and a nearby lit area on the same surface.
- Select the Eyedropper tool (I).
- Set Sample Size to 5 by 5 Average, so noise does not distort the result.
- Click in the lit area and note the color in the Info panel (F8).
- Click in the shadow area on the same surface and note the color.
Compare the two readings. If the lit ground is RGB 180, 160, 130 and the shadow is 70, 70, 85, then the shadow is darker and shifted toward blue. When you build your own shadow later, you will tint it toward that shadow color instead of using pure black.
A useful check: shadow values should rarely be below about 10 to 15 percent brightness in a normal photo, unless the scene is very high contrast. If your sampled shadow is pure black, the photo is probably clipped, and you should not copy that value.
Putting the three readings together
Record your findings before you start building. A short note is enough.
| Property | Question to answer | Example reading |
|---|---|---|
| Direction | Which way do shadows fall, and how long are they? | Falling toward the lower right, about 1.5 times object height |
| Hardness | How wide is the edge transition? | Soft, about 25 pixels at 100% |
| Color | What is the shadow's hue and brightness? | Cool blue-gray, about 40% as bright as lit ground |
Common errors
- Using one object as proof. A shadow from a tilted or irregular object can point in a misleading direction. Check at least two or three.
- Ignoring perspective. Parallel shadows on the ground appear to converge in the image. If you draw yours parallel on screen, it will look wrong on a ground that recedes into the distance.
- Making all shadows the same hardness. Real shadows are sharp near the contact point and blurrier far away.
- Copying clipped black. A shadow with no detail is a sign of underexposure, not a target to reproduce.
- Matching the background but not the subject. If the subject's own lighting contradicts the scene, the shadow cannot fix it.
Reading light when there are no shadows
Sometimes the background has no usable cast shadows, for example an interior with diffuse light or a studio backdrop. In that case look at other clues.
- Highlights on objects. Glossy surfaces show a bright spot on the side facing the light.
- Shading on round objects. The bright side faces the light, and the dark side faces away.
- Bright windows or lamps. Visible light sources show you where the light comes from.
- Sky and sun position. In outdoor scenes the sun's position in the sky, or the brightest part of the clouds, marks the direction.
When the evidence points to a very soft, overhead light, a short, very blurry pool of shadow directly under the subject is usually the right choice.
Exercise
A background photo shows two fence posts. Their shadows fall toward the lower left, and the edges fade gradually over about 30 pixels. The lit grass samples at RGB 120, 150, 70 and the shadow on the grass samples at RGB 40, 60, 45. Describe the light direction, hardness, and shadow color in one sentence each, and say what this means for the shadow you will add.
Show answer
The light comes from the upper right, because shadows fall toward the lower left. The light is fairly soft, since the edge fades over about 30 pixels at 100% zoom. The shadow is darker than the grass and shifted slightly toward a cool green-blue instead of black. So your added shadow should fall to the lower left, use a blur starting near 30 pixels, and be tinted toward a dark cool green rather than pure black.
Exercise
You cut out a person who was photographed with light from the left. The new background is lit from the right, with shadows falling to the left. What are two ways to resolve the conflict, and why does a shadow alone not solve it?
Show answer
You can flip the subject horizontally so its highlights match the new light direction, or choose a subject photo lit from the right. A shadow alone does not solve it because the viewer also reads the light from the bright and dark sides of the subject. A shadow that falls to the left while the subject is lit from the left contradicts the highlights.