How to Create an Iron Man Composite in Photoshop

26.6K views 1,299 likes 87 comments

Jump to a step in the video (13)

Click a time to play the video from there.

  1. 0:00 Introduction
  2. 3:05 Naming your layers.
  3. 4:01 Fixing lens perspective issues with Camera Raw
  4. 5:29 Perspective in compositing
  5. 6:41 Blurring the background
  6. 7:28 Fixing issues with the mask
  7. 10:52 Color correcting with the Selective Color Adjustment Layer
  8. 13:47 Dodging and Burning
  9. 14:52 Fixing the Rim Light
  10. 19:05 Camera Raw Global Adjustments
  11. 20:24 Replace the sky
  12. 24:33 Replace Merged Adjustments
  13. 25:24 Final thoughts
Show Shortcuts for
Text size
Appearance

Your choices stick across every tutorial on this device.

Iron man composite in Photoshop techniques blend a photo of Iron Man into a new background using layer masks, color matching, and rim lighting.

This composite starts as two separate photos: Iron Man shot against a plain background, and a night cityscape with different lighting and perspective.

You will fix the perspective mismatch, clean up a rough cutout mask, and match the color and light so the two images read as one photograph.

Key Takeaways

  • A Camera Raw Filter Smart Object lets you fix lens perspective with the Upright tool without baking in the change.
  • Select and Mask followed by a Minimum filter pass fixes a jagged mask edge and pulls back the white halo it leaves behind.
  • A 50% gray layer set to Overlay blending mode is a non-destructive way to dodge and burn a composite.
  • Blend If on the Blue channel removes a sky without making a manual selection.
  • Converting a stamped layer to a Smart Object before running Camera Raw Filter again keeps every earlier edit editable.
  • Rim light comes from a white Stroke layer style, broken into its own layer, then masked and colored with a clipped Color Balance layer.

What You Will Learn

  • How to fix lens perspective distortion with Camera Raw’s Upright tool
  • How to clean up a rough Select and Mask cutout and remove the white halo it leaves
  • How to dodge and burn a composite non-destructively on a gray Overlay layer
  • How to pull a sky out with Blend If instead of a selection
  • How to fake a rim light effect with a Stroke layer style
  • How to match a new sky’s color to the original scene with Hue/Saturation

Requirements

Before you start

Practice Files

Download the practice files for this iron man composite and follow along step by step.

301-iron-tutorial-starter.zip (3357 downloads)

Iron Man Composite in Photoshop: Keyboard Shortcuts

ActionWindowsmacOS
Preview a layer mask by itselfAlt-click layer mask thumbnailOption-click layer mask thumbnail
Hide a layer maskAlt-click layer mask thumbnailOption-click layer mask thumbnail
Turn a layer mask solid blackAlt-click New Layer Mask iconOption-click New Layer Mask icon
Split a Blend If slider in halfAlt-click the slider pointOption-click the slider point
Clip a layer to the one belowCtrl Alt GCommand Option G
Open the Fill dialogShift BackspaceShift Delete
Load a layer mask as a selectionCtrl-click layer mask thumbnailCommand-click layer mask thumbnail
Load a layer’s pixels as a selectionCtrl-click layer thumbnailCommand-click layer thumbnail
Group selected layersCtrl GCommand G
Stamp visible layers into one new layerCtrl Alt Shift ECommand Option Shift E
Toggle the red mask overlayBackslashBackslash
Pan the canvasSpace BarSpace Bar
SaveCtrl SCommand S
Select AllCtrl ACommand A
PasteCtrl VCommand V
Merge downCtrl ECommand E

Naming Your Layers

It’s a great idea to start your composite by naming all the layers correctly, so it’s easier to organize them. If you select the Move tool and right-click on the canvas, you’ll see the list of all the layers below where you click on. 

If you click on one of the layers, it immediately selects it on the Layers panel. By naming the layers accordingly, it’s easier to switch between layers with just one click.

Fixing Lens Perspective Issues with Camera Raw

Start by converting the Background layer into a Smart Object so you can apply filters, distortions, and adjustments non-destructively. 

Layers panel with the Background layer converted into a Smart Object

Choose Filter > Camera Raw Filter. 

Click on the Geometry tab, and on the Upright options, choose Auto to apply automated balanced perspective corrections. 

Camera Raw Geometry tab with Upright set to Auto for balanced perspective correction

You can also do it manually by choosing the Upright option to Guided where you draw two or more guides to customize the perspective corrections. Just click-and-drag to set up the horizontal and vertical guides to automatically straighten the image. 

Upright set to Guided with drawn guides straightening the image manually

Then, press OK to apply the changes.

For a deeper look at this correction, see how to fix perspective distortions with the Automatic Upright filter.

Perspective in Compositing

Working with these images where the perspectives aren’t matching, you can only do so much. In this case, scaling the background into a bigger size helps to match the Iron Man perspective.

Blurring the Background

Choose Filter >Blur Gallery > Tilt-Shift.

Filter menu with Blur Gallery open and Tilt-Shift chosen

A quick guide to remember when working with Tilt-Shift: 

  • Anything between the solid lines remains sharp. 
  • Anything in between the solid line and the dashed line comes to a gradual blur.
  • Anything beyond the dash lined becomes blurry. 

Click-and-drag the Tilt-Shift lower so that everything behind the Iron Man is blurry. 

On the Blur Tools panel, use the Blur and Distortion sliders to adjust the blur you want to achieve. 

Blur Tools panel with the Blur and Distortion sliders set for the background blur

Fixing Issues with the Mask

There are a few issues with this Iron Man image. They become evident when you apply a Stroke Layer Style to it, which reveals that the mask is imperfect and leaves holes.

Stroke layer style on the Iron Man layer exposing holes left in the mask

With the Layer Mask selected, use the Brush tool to fix the masking. 

Tip: “White reveals, black conceals” is a mnemonic for masking. Set the Foreground color to white (#ffffff) to reveal part of the mask, and to black (#000000) to hide it.

If you hold Alt (Windows) or Option (macOS) as you click on the Layer Mask, you will notice how the edges of Iron Man’s masking look jagged.

To fix that, click on the Select and Mask button. 

The Select and Mask workspace works best as a two-step process: refine the body edge first, then the hair or fur edge separately.

Select and Mask button clicked to clean up the jagged mask edges

Use the sliders found in the Global Refinements to smoothen, feather, and add contrast to the edges of the mask. 

Global Refinements sliders smoothing, feathering and adding contrast to the mask edge

Then, press OK to apply the changes.

Hide the Layer Mask by pressing Alt (Windows) or Option (macOS) as you click on the Layer Mask thumbnail.

To remove the retained fringing or the white halo of the mask, choose Filter > Other > Minimum to contract it based on the Radius value you input. 

Filter menu path through Other to Minimum for contracting the mask
Minimum dialog with a Radius value set to pull back the white halo on the mask

Then, press OK to apply the changes. 

For sharper areas, you can use the Polygonal Lasso tool to create a selection and fill it with black (#000000) to hide the areas in the mask. Take your time to fine-tune the edges.

Color Correcting with the Selective Color Adjustment Layer

Start by creating a Black & White adjustment layer as the topmost layer to start fixing the luminosity.

Black and White adjustment layer added at the top of the stack to judge luminosity

Create a Selective Color adjustment layer, and set the Color to Whites. Adjust the Black slider to make it darker. 

Selective Color set to Whites with the Black slider pushed to darken them

Next, set the Color to Neutrals and adjust the Black slider to make it darker. 

Selective Color set to Neutrals with the Black slider dragged darker

Set the Color to Black, and adjust the Black slider to darken it more. 

Upon disabling the Black & White adjustment layer, you’ll see how the contrast of the subject layer better matches the background.

Now go back to Selective Color and adjust the sliders in Neutrals and Reds by increasing Cyan. This makes it more convincing that Iron Man is part of the night scene.

Selective Color Reds with Cyan raised so Iron Man blends into the night scene

Dodging and Burning

Create a New Layer and clip it to the layer below by pressing CtrlAltG (Windows) or CommandOptionG (macOS).

Then, hold ShiftBackspace (Windows) or ShiftDelete (macOS) to bring out the Fill window.

Set the Contents to 50% Gray and click OK. 

Fill dialog with Contents set to 50 percent Gray for the dodge and burn layer

Change the Blending Mode of the layer to Overlay.

Gray layer switched to the Overlay blending mode in the Layers panel

On the Toolbar, select the Burn tool and use it to paint around the edges of the subject to make it darker. This step helps you to change up the lighting of the scene, especially to your subject.

On the contrary, use the Dodge tool to make certain areas brighter. 

Burn tool darkening the edges of the subject while Dodge lifts the brighter areas

Fixing the Rim Light

Recreate a rim light effect by double-clicking on the side of the subject layer to bring out the Layer Style window. 

For the full version of this technique, see how to apply rim light in Photoshop.

Check the box for Stroke. On the Stroke menu, set the Color to a color white (#ffffff).

Layer Style window with Stroke checked and the stroke color set to white

Increase the Size slider to expand the stroke. 

Right-click on the FX icon and select Create Layer. 

Right-clicking the FX icon and choosing Create Layer to break the stroke out

Press the OK button when the dialog window pops up.

With a new layer based off the stroke, choose Filter > Blur > Gaussian Blur. Use the Radius slider to increase the size of the blur. Then, press OK to exit the window.

Gaussian Blur dialog with the Radius raised to soften the stroke layer

Hold Ctrl (Windows) or Command (macOS) as you select the Layer Mask thumbnail to load it as a selection.

Then, click on the New Layer Mask icon to create another layer mask out of the selection with the current layer. Right-click on the layer and select Apply Layer Mask.

Create a Solid Color fill layer and set the color to black (#000000). By doing so it will be easier for you to see the adjustments once we apply color to the stroke.

Solid Color fill layer set to black so the rim light adjustments are easy to see

Create a Color Balance adjustment layer and place it above the stroke layer. 

Color Balance adjustment layer created and placed above the stroke layer

Press CtrlAltG (Windows) or CommandOptionG (macOS) to clip it to the layer below.

Select the Tone to Midtones and adjust the sliders to achieve a rim light color that matches the color of the environment.

Color Balance Tone set to Midtones with sliders tuned to the scene color

Set the Blending Mode of the black Color Fill layer to Screen.  

Black Color Fill layer switched to the Screen blending mode

Put the Color Balance, Color Fill, and stroke layer into a new Group to organize them. Select all three layers and press CtrlG (Windows) or CommandG (macOS) to place them in the group, then rename it to “Rim Light.”

Color Balance, Color Fill and stroke layers grouped together and named Rim Light

Painting the Rim Light

Select the Stroke layer, hold Alt (Windows) or Option (macOS) as you click on the New Layer Mask icon to turn it into a black layer mask. This hides everything for now.

To reveal the rim light effect on selected areas, select the Brush tool and set the Foreground color to white (#ffffff). Start painting on the areas where you want the rim light to show.

Camera Raw Global Adjustments

Select the Rim Light group and press CtrlAltShiftE (Windows) or CommandOptionShiftE (macOS) to merge them into a single layer. Then right-click and choose Convert to Smart Object.

Merged stamp of the Rim Light group converted into a Smart Object

Choose Filter > Camera Raw Filter.

Filter menu with Camera Raw Filter chosen for global adjustments

You can start adjusting the colors and details of the image to enhance the composite further.

Replace the Sky

Place an image of the sky in the working document and scale it accordingly.

Place the sky layer below the background layer and rename it to “Sky.”

Double-click on the side of the background layer to bring out the Layer Style window. 

Under Blend If, set it to the Blue channel and adjust the This Layer slider to remove the blues in the layer. This removes the sky and reveals the layer underneath.

Blend If dropping out the sky in an iron man composite in Photoshop

Hold Alt (Windows) or Option (macOS) as you click on the white point to split it in half. Adjust the two points so the transition between visible and invisible pixels is smoother.

To get a Layer Mask out of Blend If, duplicate the layer and disable the original layer. Convert the duplicate layer into a Smart Object, and it will gain transparency.

With the transparency, hold Ctrl (Windows) or Command (macOS) as you click on the layer thumbnail to load the visible pixels as a selection. Then delete the layer.

With the loaded selection, click on the New Layer Mask icon to create a layer mask on the original background layer. 

Right-click on the layer and select Clear Layer Style on the menu list.

Layer right-click menu with Clear Layer Style selected

To check your mask, press the Backslash key to see the red overlay.

Note: Anything shown in red is not selected.

Use the Brush tool and set the Foreground color to white (#ffffff). Use it to paint over areas to deselect them from the mask.

Tip: Press and hold Space Bar to pan around the image while you fine-tune the mask, so you do not have to switch tools.

Create a new Hue & Saturation adjustment layer and use the sliders to match the previous sky’s colors so it looks as realistic as possible.

Hue and Saturation adjustment layer matching the new sky to the old colors

Once you’re done, press CtrlS (Windows) or CommandS (macOS) to save your changes.

Replace Merged Adjustments

Rename the layer to “Final.”

Layers panel with the merged layer renamed Final

Press CtrlA (Windows) or CommandA (macOS) to select the whole canvas.

Choose Edit > Copy Merged.

Edit menu with Copy Merged chosen after selecting the whole canvas

Double-click on the Smart Object to open it in a new tab, then press CtrlV (Windows) or CommandV (macOS).

Press CtrlE (Windows) or CommandE (macOS) to merge them into a single layer.

Then, press CtrlS (Windows) or CommandS (macOS) to save the changes applied to the Smart Object.

Frequently Asked Questions

What is an iron man composite in Photoshop?

An iron man composite in Photoshop combines a separate photo of Iron Man with a new background so the two images look like one photograph. The process fixes mismatched perspective, cleans up the cutout mask, and matches color and lighting between the two source photos.

How do you fix perspective in a Photoshop composite?

Convert the background layer to a Smart Object, then open Filter > Camera Raw Filter. On the Geometry tab, set Upright to Auto for an automatic correction, or to Guided to draw your own horizontal and vertical guides.

Why does Select and Mask leave a white halo around a subject?

The mask edge can keep a thin fringe of the old background color. Run Filter > Other > Minimum with a small Radius to contract the mask and pull that fringe back in.

What does Blend If do in Photoshop?

Blend If hides pixels in a layer based on their brightness or color channel instead of a manual selection. Setting the Blue channel This Layer slider drops out a sky so the layer underneath shows through.

How do you dodge and burn a composite?

Add a new layer, clip it to the layer below, and fill it with 50% Gray using the Fill dialog. Set its blending mode to Overlay, then paint with the Dodge and Burn tools to brighten and darken areas without touching the original pixels.

How do you add rim light to a composite in Photoshop?

Add a white Stroke layer style to the subject, then right-click the FX icon and choose Create Layer to break it out on its own. Blur it, mask it to the edges you want lit, and add a clipped Color Balance layer to color the light.

What Photoshop version do you need for this composite technique?

This tutorial uses Photoshop 2020 (version 21.2) or the current version. Every tool it uses, including Camera Raw Filter, Select and Mask, and Blend If, works the same way in current Photoshop.

How do you replace a sky without losing the original layer?

Use Blend If to drop out the old sky, then duplicate that layer and convert the duplicate to a Smart Object so it gains real transparency. Load its pixels as a selection and use that selection to build a proper Layer Mask on the original layer.

Conclusion

This iron man composite in Photoshop combines a perspective fix, a cleaned-up mask, non-destructive dodging and burning, and a matched sky into one believable scene.

None of these techniques are unique to superhero composites. The same Camera Raw, masking, and Blend If steps work on any photo you want to blend into a new background.

Watch the full video above for every step in real time, and comment on the video if you have a question.

Pro Training

Selections and Masking Mastery

Complete course includes 2.5 hours of step-by-step lessons, 6 structured modules, downloadable practice files, and custom Photoshop brushes. Everything you need to master selections and masks in one place.

View the Course

Keep going

Next, try the newer AI-powered Sky Replacement workflow instead of pulling a sky manually with Blend If.

Final Image

Drag the slider to see before and after

After: How to Create an Iron Man Composite in Photoshop
Before: How to Create an Iron Man Composite in Photoshop
Jesús Ramirez

About the author

Jesús Ramirez

Jesús Ramirez is a graphic designer and the founder of the Photoshop Training Channel, which he started in 2012 and has grown past two million YouTube subscribers. He has taught at Adobe MAX, Adobe Summit, and Photoshop World, teaches courses for CreativeLive and Pluralsight, and was one of five artists chosen for Adobe Stock's Make a Masterpiece campaign. His Photoshop templates shipped inside Photoshop CC 2018.

More about Jesús Ramirez

Similar Posts