A framed photo of a person walking across striped golden sand dunes sits on a shelf beside a textured vase and dried eucalyptus leaves, from a tutorial on compositing highlights, shadows, and reflections in Photoshop.
  • Compositing Highlights, Shadows & Reflections in Photoshop

  • Aaron Nace
    by Aaron Nace
    November 7, 2023
  • Add to
    favorites

Download Assets

Download Assets

This tutorial includes 2 sample images, 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
Download

Free PDF Guide · 3 Pages

This Tutorial as a Step-by-Step PDF

Walks through masking a photo into a frame with the Polygonal Lasso, then copying the frame opening twice with Ctrl/Command+J into Highlight and Shadow layers: Screen with Levels darks darker and Saturation down, Multiply with Levels lights lighter. Ends with unlinking the mask to recompose and Levels as a Smart Filter. Keep it next to your keyboard.

Download the PDF Guide · 0.6 MB

description

Dropping a photo into a picture frame, a billboard, or any real environment only looks convincing once it picks up the highlights and shadows that scene was already producing. This tutorial covers compositing highlights, shadows, and reflections in Photoshop: fit the new image into the frame with a Smart Object and a layer mask, then duplicate the original frame area twice and use Screen and Multiply with Levels to isolate its highlight and shadow, layered back on top.

Image Source

Photos by Karolina Grabowska and Dibakar Roy via Pexels

Before and after composite showing a framed photograph of a field worker added into an empty picture frame, with matching highlights, shadows, and reflections in Photoshop
Before and after composite showing a framed photograph of a field worker added into an empty picture frame, with matching highlights, shadows, and reflections in Photoshop
AfterBefore

Compositing Highlights, Shadows, and Reflections in Photoshop

Placing one photo inside another — a picture into a frame, an ad into a billboard, an image into any physical environment — only reads as real once the new image also picks up the original scene’s own highlights and shadows. Simply pasting a photo into an opening leaves it looking flat and disconnected, no matter how well it’s cropped. This technique for compositing highlights and shadows extracts the original lighting information from the base photo and layers it back on top of the composite so the result looks like it was actually lit inside that environment.

Getting Started with the Composite

The example here places a photo inside a picture frame that originally held a different image with a visible mat border.

  1. Drag the New Image into the Frame Photo

    Use the Move tool to click and drag your new image directly into the frame photo document.

Cleaning Up and Preparing the New Image

Since the new photo needs to fill the entire frame opening rather than sit inside a matted area, the mat itself needs to be removed first.

  1. Remove the Mat with the Spot Healing Brush

    Create a new layer above the frame, press J for the Spot Healing Brush tool, and paint over the mat area to remove it. It doesn’t need to be perfect, since this information isn’t needed in the final composite.

  2. Convert Your Image to a Smart Object

    Right-click the new image layer and choose Convert to Smart Object, so it can be resized smaller and larger later without losing resolution.

  3. Resize with the Width and Height Drag Shortcut

    Press Ctrl + T (Cmd + T on Mac), then click directly on the W (width) or H (height) label in the options bar and drag left or right to resize quickly, rather than dragging a corner handle.

Why Convert to a Smart Object First

Because this photo may need to be scaled down and back up more than once while fitting it into the frame and refining the composition later, converting it to a Smart Object first means none of that resizing ever costs resolution the way it would on a regular pixel layer.

Fitting the Image into the Frame

  1. Hide the Layer and Select the Frame Opening

    Turn off the new image layer’s visibility, then press L for the Lasso tool and click-hold to switch to the Polygonal Lasso. Click each corner of the frame opening, staying slightly outside its border, and double-click to close the selection.

  2. Load the Selection as a Layer Mask

    Turn the image layer’s visibility back on, then click the Layer Mask icon in the Layers panel (or the contextual taskbar) to apply the selection as a mask.

Cleaning Up Overlapping Edges

A straight polygonal selection rarely accounts for every detail along a frame’s edge, like leaves or other foreground elements that should overlap the new photo.

  1. Select the Overlapping Detail

    Hide the image layer again, switch to the regular Lasso tool, and make a rough selection around any foreground detail, like leaves, that should sit in front of the new photo. Hold Alt (Option on Mac) to subtract from the selection or Shift to add to it.

  2. Fill the Mask with Black in That Area

    Turn the layer mask back on, click it to select it, go to Edit > Fill, and choose Black to hide the new image in that specific area, then Ctrl/Cmd + D to deselect.

Extracting Highlights and Shadows from the Original

With the new photo fitted into the frame, it still looks flat because the original frame photo’s highlight along the glass and shadow around the border haven’t been carried over.

  1. Merge Your Cleanup Layers

    Hide the composited image layer, then select both the original background layer and the spot-healed mat layer, and press Ctrl + E (Cmd + E) to merge them.

  2. Turn the Layer Mask into a Selection

    Hold Ctrl (Cmd on Mac) and click the layer mask thumbnail to load its shape as an active selection — the same frame-opening selection made earlier.

  3. Duplicate the Highlight Layer from the Background

    With the selection active, click the merged background layer and press Ctrl + J (Cmd + J) to duplicate that selected area onto its own layer. Rename it Highlight.

  4. Duplicate the Shadow Layer from the Background

    Reload the same selection by holding Ctrl/Cmd and clicking the layer mask thumbnail again, select the background layer, and press Ctrl + J (Cmd + J) once more. Rename this second copy Shadow.

Why the Same Selection Works Twice

Since the highlight and shadow information both live within the same frame-opening area of the original photo, duplicating that identical selection twice is enough — the two resulting layers start out as identical copies, and it’s the blend mode and Levels adjustment applied afterward that separate one into pure highlight information and the other into pure shadow information.

Two documents open in Photoshop, an aerial landscape photo and a black picture frame on a shelf, ready for compositing

Applying the Highlight Layer with Screen Blend Mode

With the composited image layer turned back on, the Highlight and Shadow layers go on top of it, starting with the highlights.

  1. Set the Highlight Layer to Screen

    Select the Highlight layer and change its blend mode from Normal to Screen, which hides dark pixels and shows only lighter ones.

  2. Darken the Blacks with Levels

    Press Ctrl + L (Cmd + L) to open Levels, and drag the black point slider to the right to make the darker areas of this layer even darker, which reduces their visibility under the Screen blend mode until only the true highlight remains.

  3. Reduce Saturation on the Highlight Layer

    Press Ctrl + U (Cmd + U) for Hue/Saturation and lower the saturation, since compressing the tonal range with Levels tends to intensify color saturation as a side effect.

Spot Healing Brush painting over the mat inside the picture frame to remove it before compositing the new photo

Why Levels Only Affects the Highlight Layer

Because the Levels adjustment in this step is applied directly to the Highlight layer itself, rather than as an adjustment layer affecting everything beneath it, it only changes the tonal range of that one duplicated layer — the composited photo underneath is left completely untouched.

Applying the Shadow Layer with Multiply Blend Mode

  1. Set the Shadow Layer to Multiply

    Turn on the Shadow layer and change its blend mode to Multiply, which hides light pixels and shows only darker ones.

  2. Lighten the Whites with Levels

    Press Ctrl + L (Cmd + L) and, this time, drag the white point slider to the left to lighten the brighter areas of this layer, reducing their visibility under the Multiply blend mode until only the true shadow remains.

Aerial landscape photo masked into the black frame opening with a layer mask, with leaves overlapping the frame edge

Screen and Multiply Are Opposites

Screen and Multiply are mirror images of each other: Screen shows only lights and hides darks, while Multiply shows only darks and hides lights. That’s exactly why the highlight layer gets its darks pushed darker while the shadow layer gets its lights pushed lighter — each adjustment is fighting to isolate the one kind of information its blend mode already favors.

Repositioning the Composite Independently of Its Mask

Once the highlight and shadow layers are in place, the composited photo itself can still be fine-tuned without disturbing the mask that fits it to the frame.

  1. Unlink the Layer from Its Mask

    Click the small chain-link icon between the image layer’s thumbnail and its mask thumbnail to unlink them, so moving the layer no longer moves the mask along with it.

  2. Reposition and Rescale the Image

    Use the Move tool and Ctrl/Cmd + T to reposition and resize the photo within the frame opening for a better composition, since the layer mask stays fixed in place while the Smart Object underneath can move freely.

  3. Adjust the Overall Light with a Smart Filter

    With the image still a Smart Object, press Ctrl + L (Cmd + L) to lighten or darken it overall so its tone matches the light already present in the surrounding photo — because it’s a Smart Object, this Levels adjustment is applied as an editable Smart Filter that can be reopened and changed later.

Layers panel with the duplicated frame layer selected, used for compositing highlights and shadows from the original frame photo

Common Mistakes to Avoid

Skipping the highlight and shadow extraction entirely is the most common shortcut, and it’s exactly what makes a composite look pasted-in rather than photographed in place. It’s also easy to forget to reduce saturation after adjusting Levels on the highlight layer, which leaves oversaturated color fringing where the highlight should just read as a bright, neutral gleam. And moving a composited layer without first unlinking it from its mask undoes the careful frame-fitting work from earlier in the process.

Frame opening selection loaded by Ctrl-clicking the layer mask thumbnail, with the Background layer selected in Photoshop

Why This Approach Works

What separates a believable composite from an obvious cut-and-paste job is light, not edges — a perfectly cropped photo dropped into a frame still looks fake if it doesn’t carry any of the highlight and shadow information that photo’s environment was already producing. Duplicating the exact same frame-opening selection twice and steering one copy toward pure highlight with Screen and Levels, and the other toward pure shadow with Multiply and Levels, is what recovers that lighting information without having to paint or fake it by hand.

Converting the composited image to a Smart Object before any of this starts is what keeps the whole process reversible: it can be resized, repositioned independently of its mask, and have its overall brightness adjusted as an editable Smart Filter, all without ever touching the highlight and shadow layers sitting on top of it. The result is a composite where the new photo looks like it’s actually receiving light from the same source as everything around it, rather than floating on top of an unrelated background.

Final Thoughts

This approach to compositing highlights and shadows isn’t specific to picture frames — the same technique applies any time one image needs to sit convincingly inside another environment, whether that’s a photo on a billboard, an ad on a screen, or any other object with its own reflections and shading. Once you understand that Screen isolates highlights and Multiply isolates shadows, and that both can be pulled from a selection you’ve already made once, recovering realistic lighting for any environmental composite becomes a repeatable, reliable step rather than a guessing game.

Quick Reference: Keys, Menus and Settings

  • Remove the matNew layer, J for the Spot Healing Brush
  • Fit the photoConvert to Smart Object; Cmd/Ctrl + T, drag the W or H in the options bar
  • Mask the openingL, hold for the Polygonal Lasso, layer mask icon; Edit > Fill with Black over overlaps, Cmd/Ctrl + D
  • Copy the lightCmd/Ctrl + E to merge the cleanup; Cmd/Ctrl-click the mask, click the Background, Cmd/Ctrl + J, twice
  • Highlight layerScreen; Cmd/Ctrl + L, black point right; Cmd/Ctrl + U, Saturation down
  • Shadow layerMultiply; Cmd/Ctrl + L, white point left
  • Recompose and matchClick the chain link to unlink, then move and scale; Cmd/Ctrl + L on the photo as a Smart Filter

No AI, no generative credits.

Page 1 of the free Compositing Highlights Shadows and Reflections in Photoshop PDF guide

Free Downloads

Follow Along on the Same Photos

Get the picture frame scene, the photo that goes inside it, the finished layered PSD and the 3-page PDF guide. Free with a PHLEARN account.

Compositing Highlights and Shadows: Common Questions

Why does my composite still look pasted in?

The original scene had a highlight across the glass and a shadow around the inside of the frame, and the new photo has neither. Copy that light from the original photo and lay it back over the top.

Why convert the photo to a Smart Object first?

So you can make it smaller and then larger again without losing resolution. It also means Levels on the photo is applied as an editable Smart Filter.

How do I mask the photo to the frame opening?

Hide the photo layer, press L and click and hold for the Polygonal Lasso Tool. Click each corner slightly outside the frame’s inner border, double-click to close, turn the layer back on and click the layer mask icon.

How do I keep leaves in front of the new photo?

Lasso around them, click the layer mask, go to Edit > Fill and fill with Black, then press Cmd/Ctrl + D. Black on a mask is invisible and white is visible.

How do I copy the highlight and shadow from the original?

Cmd/Ctrl-click the photo layer’s mask to load the frame opening, click the Background and press Cmd/Ctrl + J. Name it Highlight, then do the same again for a Shadow layer.

How do I show only the highlight?

Set the Highlight layer to Screen, which shows the lights and hides the darks. If it is too strong, press Cmd/Ctrl + L and drag the black point slider to the right, or lower the layer’s Opacity.

Why did the highlight turn more colorful after Levels?

Compressing the range of the layer also compresses its color, which increases saturation. Press Cmd/Ctrl + U for Hue/Saturation and bring Saturation back down.

How do I show only the shadow?

Set the Shadow layer to Multiply, which shows only the darks. If it is too dark, press Cmd/Ctrl + L and drag the white point slider to the left.

How do I move the photo without moving its mask?

Click the chain link between the layer thumbnail and the mask thumbnail to unlink them. Then move and scale the photo with the Move tool and Cmd/Ctrl + T, and link them again when you are done.

Are the sample files free?

Yes, with a free PHLEARN account. You get 2 sample images, 1 sample PSD and 1 PDF guide: the frame scene, the photo that goes inside it, the finished file and a 3-page step-by-step guide.

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.

As featured in
  • 500px
  • Adobe
  • Fstoppers
  • HuffPost
  • Inc.
  • PetaPixel