Download Assets
This tutorial includes 1 sample image, 1 sample PSD and 1 PDF guide. Downloads are free with a PHLEARN account.
- Download the sample images and PSDs from every free tutorial on PHLEARN
- New free tutorials published every week
- One free account — sign up once, then download anything
Free PDF Guide · 3 Pages
This Tutorial as a Step-by-Step PDF
The 3-page guide walks through placing the background, converting it to a Smart Object for Filter > Blur > Box Blur, then a Threshold layer to measure highlights and shadows, a Levels layer clipped to the subject to darken the light end, midpoint and black point, and the Luminosity blend mode. Keep it next to your keyboard.
description
A subject can be cut out perfectly and still look pasted in, and the cause is usually light rather than edges. This tutorial uses a Threshold adjustment layer as a diagnostic tool to see exactly where a subject’s highlights and shadows fall against the background’s, then corrects the mismatch with a clipped Levels layer set to Luminosity so the subject’s color stays untouched while its light levels finally match the scene.
Enjoying This Free Tutorial?
We publish a new free tutorial every week, each one with sample images and PSDs you can download and follow along with. Sign up and they land straight in your inbox, along with early word on sales, events and subscriber-only offers.

Match Lighting for Composites with This Secret Tool
A subject can be cut out perfectly and still look fake once it’s dropped into a new background, and the usual culprit isn’t the edges, it’s mismatched light. When a subject’s highlights or shadows don’t match the light levels already established in the background, no amount of careful masking will make the composite read as real. This tutorial shows a threshold-based technique for actually analyzing that mismatch and correcting it with precision, rather than guessing by eye.
Start with a Pre-Cut Subject and Bring In a New Background
Starting from a subject already cut out onto its own layer (holding Shift and clicking a layer mask toggles it off to check the cutout, and Alt or Option-clicking reveals the mask itself as a grayscale preview), the Move tool, held with Shift while clicking and dragging from one open document to another, drops a new background image in underneath that subject layer.
Match Perspective and Blur the Background to Match Focus
Free Transform, CMD or CTRL + T, repositions the background slightly to improve how the subject sits within the new scene, adjusting for perspective before anything else gets touched.
Converting the Background to a Smart Object First
Since the subject in this example sits slightly out of focus while the new background is noticeably sharper, right-clicking the background layer and choosing Convert to Smart Object first, then applying Filter, Blur, then Box Blur, softens the background just enough to match the subject’s depth of field. Applying the blur to a Smart Object rather than a regular layer keeps that blur amount fully editable later, which matters since focus and light both need dialing in gradually rather than all at once.
Add a Threshold Adjustment Layer to Analyze Light
With perspective and focus roughly matched, the one thing still keeping the composite from working is light level, and that’s genuinely difficult to judge just by eye: it’s hard to tell definitively whether highlights read as too bright or shadows as too dark just by looking at an image. Layer, New Adjustment Layer, then Threshold, or the equivalent icon in the Adjustments panel, adds a Threshold layer, which sets a single brightness point in the image and turns everything brighter than that point solid white, everything darker solid black.
Why Threshold Looks Useless At First
On its own, a Threshold adjustment layer looks like it produces nothing but a stark black-and-white graphic with no obvious use. Its real value here isn’t as a finished effect, it’s as a diagnostic tool for comparing exactly how bright the subject’s highlights and shadows are relative to the background’s, something the eye alone struggles to judge accurately.
Compare Highlights Between Subject and Background
Dragging the Threshold layer’s slider from left to right gradually turns more of the image black, and watching which areas turn solid white last reveals the true brightest points in the frame. In an outdoor scene, the sky, acting as the dominant light source, should logically be the brightest thing in the image; dragging until the sky turns fully black should mean nothing else in the frame stays lit past that same point. If detail is still visible somewhere on the subject after the sky has already gone black, for instance bright highlights on a pair of pants, that means the subject’s highlights are actually brighter than the light source itself, which never happens in a real, single-light-source photograph and immediately signals a mismatch worth fixing.
Fix Mismatched Highlights with a Clipped Levels Layer
A Levels adjustment layer, right-clicked and set to Create Clipping Mask so it only affects the subject layer directly beneath it and leaves the background untouched, is the tool for correcting this. Pulling the white slider on the lower Output Levels bar down (it ends at 242 in the video) darkens just the subject’s brightest areas.
Fine-Tuning the Highlight Point
With the Threshold layer still active above everything for reference, pulling that white Output Levels slider down a little at a time brings the subject’s brightest points in line with the sky’s brightness, watching in the Threshold preview until both the sky and the subject’s highlights turn white and then black at roughly the same point in the slider’s range. Lowering the Threshold layer’s opacity for a moment shows which part of the color photo is still white, here the subject’s white pants. After the Levels change, bringing the opacity back up and dragging again shows the sky coming in first, then the pants, which makes sense because they are white.
Compare Shadows Between Subject and Background
Dragging the Threshold slider the opposite direction, from the midtones down toward the darkest end of the range, reveals the same kind of mismatch on the shadow side. If shadow detail in the background, in foliage or in the space behind the subject, is still clearly visible well after all the shadow detail on the subject itself has already disappeared to solid black, that means the subject’s dark areas are too light relative to how dark the background’s shadows actually are.
Fix Mismatched Shadows with the Same Levels Layer
Going back to that same clipped Levels adjustment layer, dragging the midpoint slider a little from left to right, and pulling in the black point as well, darkens the subject’s shadow areas until they disappear from the Threshold preview at roughly the same point as the background’s shadows do. It’s easy to overshoot here and make the subject’s shadows go too dark, becoming the single darkest thing in the whole image, in which case pulling the black point back slightly restores a natural balance.
Turn Threshold Off and Compare
Once the highlights and shadows match, the Threshold layer has done its job and gets turned off. Toggling the Levels layer off and on shows the difference: without it the subject looks too bright for the scene, with it she fits.
Switch the Levels Layer to Luminosity to Protect Color
With the Threshold layer off, the corrected image already looks dramatically more convincing, the subject’s highlights and shadows now genuinely matching the background’s established light levels. One important detail remains: the Levels adjustment layer defaults to the Normal blend mode, which shifts color saturation along with brightness, and changing that blend mode from Normal to Luminosity restricts the correction to light values only, leaving the subject’s original color and saturation completely untouched. Zooming in and switching between the two shows the saturation shift go away.
As a last, optional touch, if the subject’s face feels a little too dark, painting black onto the Levels layer mask with the Brush Tool at about 10 percent Flow over the face brings a little brightness back just there, without undoing the correction everywhere else.
Why Matching Light Levels Fixes a Composite That Almost Works
A composite that’s technically well cut out but still doesn’t quite look real is one of the most frustrating outcomes in Photoshop, because the problem, mismatched light levels, is genuinely hard to spot just by looking at the image directly. Turning the Threshold adjustment layer into a diagnostic tool rather than a final effect solves that blind spot: it makes an invisible, purely tonal mismatch visible and measurable, so a clipped Levels layer can correct exactly what’s wrong instead of nudging brightness and contrast around by guesswork.
Final Thoughts
Matching light between a subject and a new background comes down to one simple idea: use a Threshold layer to see exactly where the highlights and shadows of each element actually fall, then correct the mismatch with a clipped Levels layer set to Luminosity so color stays untouched. It’s a technique that turns an almost-there composite into something that reads as a single, believable photograph, and it’s worth trying on any composite that still feels slightly off even after a clean cutout.
Quick Reference: Keys, Menus and Settings
- Check the cutoutShift-click the mask to disable it; Alt/Option-click to view the mask itself
- Bring in the backgroundMove Tool, Shift-drag from one document into the other, place it under the subject
- Position itF for full screen; Cmd/Ctrl + T to move the background down
- Match focusRight-click > Convert to Smart Object, then Filter > Blur > Box Blur
- Measure the lightLayer > New Adjustment Layer > Threshold, kept on top
- Fix the subjectLevels, right-click > Create Clipping Mask; white Output slider down, midpoint and black point for the shadows
- Protect colorLevels blend mode: Luminosity; optional black on its mask at 10% Flow
No AI, no generative credits. Threshold measures, Levels fixes.

Free Downloads
Follow Along on the Same Photos
Get the background photo, the PSD with the subject already cut out and the 3-page PDF guide, so all that is left is matching the light. Free with a PHLEARN account.
Matching Light in a Composite: Common Questions
Why does my cutout still look pasted in?
Often it is the light. The subject’s highlights are a little too bright, or its shadows are not as dark as the background’s, and that is very hard to judge by eye. A Threshold layer lets you measure it instead of guessing.
What does a Threshold adjustment layer do?
It sets one brightness point: everything brighter turns white and everything darker turns black. Add it from the adjustment layers or Layer > New Adjustment Layer > Threshold, keep it on top, and turn it off once the light matches.
How do I tell if my subject’s highlights are too bright?
Drag the Threshold slider from left to right until the sky goes black. The sky is the light source, so nothing should stay white after it. In the video the subject’s white pants are still white, so her highlights are brighter than the sky.
Why clip the Levels layer to the subject?
Right-click the Levels layer and choose Create Clipping Mask so it changes only the subject. Unclipped, it changes the background too and you are no longer matching one to the other.
Which Levels slider darkens the highlights?
With Threshold still on, bring the light end down. In the video that is the white slider on the lower Output Levels bar, lowered a little at a time until the sky and the pants come in together.
How do I match the shadows?
Drag Threshold toward the dark end. If the background still shows shadows after the subject’s are gone, drag the Levels midpoint slider a little from left to right and bring the black point in. If the subject becomes the darkest thing in the image, pull the black point back.
Why change the Levels layer to Luminosity?
On Normal, Levels also affects color and the subject becomes really saturated. Luminosity limits the change to light levels only.
What if the subject’s face ends up too dark?
As an optional last step, paint black on the Levels layer mask over the face with the Brush Tool at about 10% Flow. That brings a little brightness back just there.
Why make the background a Smart Object before blurring it?
So you can change the filter later. Right-click the background layer, choose Convert to Smart Object, then use Filter > Blur > Box Blur to soften it just enough to match the slightly out-of-focus subject.
Are the sample files free?
Yes, with a free PHLEARN account. You get 1 sample image, 1 sample PSD and 1 PDF guide: the background photo, the subject already cut out on a layer mask and a 3-page walk-through.
From the Magazine View all
Stories, interviews and guides for photographers, new every week.
EditingLightCraft vs Lightroom: I Edited the Same RAW Files in BothThe free clone on the same RAW files: what matches, what breaks and who should switch.
InspirationRare Historical Photos: 13 of the Rarest Pictures Ever TakenFrom the earliest surviving picture of a person to the last passenger pigeon: who took each one and why it survives.
EditingArtCraft: Photoshop Cloned by AI in Two Weeks. Is It Legal?ArtCraft cloned Photoshop and Lightroom with AI and gave them away. Any good? Legal? Safe?
Master Photoshop, Lightroom and Photography
Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 30-day money-back guarantee.
