The fastest way to spot an amateur composite is an object with no shadow — or the wrong shadow. A person standing on a surface with no contact shadow looks like a sticker. A car with a shadow pointing the wrong direction breaks the entire illusion. Getting shadows right is essential, and it requires understanding how different types of shadows work.
The Three Shadows Every Grounded Object Needs
Most compositors think about shadows as a single thing. In reality, objects touching or near a surface create multiple shadow components, and missing any of them reduces believability.
1. Contact Shadow
This is the dark, tight shadow directly where the object meets the surface. It’s the densest, sharpest shadow and it exists because at the point of contact, almost no light can reach between the object and the ground.
Contact shadows are very dark — often close to black — and very narrow. They fade rapidly as you move away from the contact point. Without this shadow, objects appear to float.
How to create it: On a new layer set to Multiply, paint with a small, soft black brush directly along the base of the object where it meets the surface. Keep it tight — usually just a few pixels wide. Reduce opacity if needed, but this shadow should be quite dark.
2. Cast Shadow
This is the shadow that extends away from the object in the direction opposite the light source. Its length depends on the light angle — low sun creates long cast shadows, overhead light creates short ones.
The cast shadow has two critical properties: it gets softer and lighter as it gets farther from the object. Right near the base, it’s relatively sharp and dark. At its farthest extent, it’s diffused and faint. This gradient is called the penumbra effect and it’s caused by the physical size of the light source.
How to create it: Make a filled black shape on a new layer that approximates the shadow’s outline. Transform it to match the light direction and angle in your scene. Apply Gaussian Blur. Then apply a gradient mask — the mask should go from white (fully visible) near the object to black (hidden) at the shadow’s far end. Set the layer to Multiply and reduce opacity to match the shadow density in the rest of the scene.
For more realistic softening, instead of a uniform blur, apply progressive blur: select sections of the shadow from near to far and apply increasing blur amounts. This simulates the natural penumbra gradient.
3. Ambient Occlusion
This is the soft, diffused darkening that occurs in crevices, under overhangs, and in areas where ambient light is partially blocked. It’s not directional — it exists everywhere objects are close together or close to surfaces.
In compositing, ambient occlusion shows up as subtle darkening around the base of objects, under raised elements, and where objects overlap.
How to create it: On a new layer set to Multiply, paint with a large, very soft brush at low opacity (10-20%) in areas where ambient light would be reduced. Build up gradually. This shadow is subtle — if you can clearly see it, it’s probably too strong.
Analyzing Your Scene’s Shadows
Before creating any shadow, study the existing shadows in your background plate. They tell you everything you need to know:
- Direction: Where do existing shadows point? Yours must match exactly.
- Length: How long are shadows relative to the objects casting them? This tells you the light angle.
- Density: How dark are the existing shadows? Match this. Outdoor scenes with fill light from the sky have lighter shadows than indoor scenes with a single light source.
- Edge softness: Hard light creates hard shadow edges. Soft or distant light creates soft edges.
- Color: Shadows aren’t gray — they typically take on the complementary color of the light source. Warm sunlight creates cool blue-purple shadows. Check the actual shadow color in your scene.
Shadow Color Matters
This catches a lot of people off guard. Shadows are not black or gray — they have color. Outdoor shadows lit by blue sky fill tend to be cool blue. Indoor shadows may be warm. The ambient light that fills shadows gives them their color.
Sample an existing shadow in your scene with the eyedropper. Use that color as your shadow painting color instead of pure black. This alone makes a significant difference in realism.
Shadows are invisible when they’re done well. That’s the goal — not to create impressive shadows, but to create shadows nobody notices because they look exactly like what physics would produce.
Comments (4)
I teach a photography class and I'm adding this to my recommended reading list.
I disagree slightly on the the final step — I find that a slightly different approach works better for me. But great article overall!
I'm a beginner and this was easy to follow. More articles for beginners please!
Thanks Chris Patterson! Glad you found it helpful.