When changing the background of an image, you will lose the shadow of your subject and will probably have to create a new one. No need; there is a way to preserve those shadow details. We'll show you how to use a subject's existing shadow on a new background in Photoshop, creating a realistic composite. Let’s get started.

Why You Should Use Your Subject's Existing Shadow

It’s fairly common to replace backgrounds in portraits. In most cases, a background may have too many distractions or may simply not look nice. But there is a sacrifice; the shadow. You will lose the original and will have to make a new one, which might not look as realistic.

To maintain a realistic look, it’s extremely useful to use the existing shadow details cast by your subject in the composite. In our example, we’ll replace the over-the-top yellow background with a regular brick wall. We’ll keep the shadow details in order to create a very realistic-looking composite.

If you want to follow along with our tutorial, you can download the main portrait image from Pexels, and download the replacement background of the wall from Pexels.

Step 1: Add the New Background

In our first step, we’ll replace the background with the brick wall using the Select Subject tool in Photoshop. We’ll rename the layers and organize them so that future changes could be made if desired.

  1. With your portrait loaded into Photoshop, click on the Quick Selection tool.
    Step 1 Quick Selection Tool
  2. Choose Select Subject at the top.
    Step 2 Select Subject
  3. Click on the Mask icon in the bottom right corner. If your subject isn’t selected to your liking, you may have to choose the Select and Mask option to further refine your selection. We cover how to select a subject in Photoshop.
    Step 3 Create Mask
  4. Drag and drop the new background wall into Photoshop.
    Step 4 Drop and Drag Wall
  5. Using the four handles, stretch the wall so that it covers the original image completely. Then press the checkmark or the Enter key.
    Step 5 Enlarge the Wall
  6. Press Ctrl + 0 to fit the image to the screen.
  7. Move the wall layer so that it’s beneath your subject layer as shown.
    Step 7 Move Layer Beneath
  8. Double-click on the top layer and name it "Subject".
  9. Double-click on the bottom layer and name it "Wall".
    Step 9 Name layer Wall

If you’re working with a landscape image, we show you how to replace skies in Photoshop.

Step 2: Recreate the Original Shadow

In the second step, we’ll reintroduce the original shadow details from the subject using the Multiply blend mode. We’ll start by duplicating the Subject layer. Additionally, we’ll desaturate the Shadows layer to remove the color cast.

  1. Select the Subject layer. Press Ctrl + J to make a copy of it.
    Step 1 Duplicate Subject Layer
  2. Drag the Subject Copy layer underneath the Subject layer as shown.
    Step 2 Drag layer beneath
  3. Double-click on the Subject Copy name and change it to "Shadow".
    Step 3 Name Layer Shadow
  4. Drag the Shadow layer's mask to the trash can icon to delete the mask.
    Step 4 Drag Mask to Trash Can
  5. Choose Delete from the pop-up dialogue box.
  6. With the Shadow layer selected, change the blend mode to Multiply.
    Step 6 Multiply Blend Mode
  7. Press Shift + Ctrl + U to desaturate the Shadow layer.
    Step 7 Desaturate Shadow Layer

We show you how to add shadows in Photoshop if there were no existing shadows to work with.

Step 3: Fix the Hair and Face

You’ll notice that our subject’s face and hair have maintained some yellow color cast from the original background. We’ll remove this color to make her look more natural.

  1. With the Subject layer selected, create a Hue/Saturation adjustment layer.
    Step 1 Hue Saturation
  2. Click on the first icon in the Properties box (the square with the down arrow) to create a Clipping Mask.
    Step 2 Clipping Mask
  3. Click on the Color Picker icon next to Master in the Properties box.
    Step 3 Color Picker
  4. Click on the woman’s hair where there is yellow. You should see Yellows in the Properties box now.
    Step 4 Select Hair
  5. Move the Saturation slider to the value of -75.
    Step 5 Saturation -75

If you're looking for a great Photoshop plugin for your portraits, we show you how to use PortraitPro for professional results.

Step 4: Final Adjustments

In the final step, we’ll make the brick wall larger to make the shadow look more realistic. We’ll also add additional adjustment layers to blend the composite layers together.

  1. Select the Wall layer. Press Ctrl + T for the Transform tool. Use the handles to increase the size of the wall. You may have to also press Ctrl + 0 to resize the screen as you enlarge the wall.
    Step 1 Make Wall Larger
  2. With the Hue/Saturation layer selected, create a Curves adjustment layer on top.
    Step 2 Curves adjustment layer
  3. Click on Auto to automatically adjust the exposure values.
    Step 3 Click Auto
  4. Create a Color Lookup adjustment layer.
    Step 4 Color Lookup
  5. Choose Fall Colors from the drop-down menu.
    Step 5 Fall Colors
  6. Change the Opacity to 50%.
    Step 6 Opacity 50 Percent
  7. With the Color Lookup layer selected, create a Photo Filter adjustment layer.
    Step 7 Photo Filter
  8. Choose Magenta from the drop-down menu and leave the settings as they are. Make sure the Density is at 25% and that the Preserve Luminosity box remains checked.
    Step 8 Magenta

Each background replacement may require completely different steps. But for this particular image, adding a new brick wall with our adjustments certainly makes the portrait look a lot better, if not just as realistic.

Original Image:

Original Image

Finished Composite:

Finished Composite

If done correctly, it would be next to impossible to tell that a "fake" background was used.

Photoshop Makes It Easy to Retain Your Subject's Existing Shadow Details

If you followed along with us, you have learned how easy it is to use existing shadow details in a composite image. With just a few easy steps in Photoshop, your creativity is no longer limited to boring backgrounds. You get to choose the best backgrounds for your subjects, without the hassle of creating new shadows.