How to Create an Iron Man Composite in Photoshop
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.
Table of contents
- What You Will Learn
- Requirements
- Iron Man Composite in Photoshop: Keyboard Shortcuts
- Naming Your Layers
- Fixing Lens Perspective Issues with Camera Raw
- Perspective in Compositing
- Blurring the Background
- Fixing Issues with the Mask
- Color Correcting with the Selective Color Adjustment Layer
- Dodging and Burning
- Fixing the Rim Light
- Painting the Rim Light
- Camera Raw Global Adjustments
- Replace the Sky
- Replace Merged Adjustments
- Frequently Asked Questions
- Conclusion
- Related Links
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
- Photoshop 2020 (version 21.2 or later) or the current version
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
| Action | Windows | macOS |
|---|---|---|
| Preview a layer mask by itself | Alt-click layer mask thumbnail | Option-click layer mask thumbnail |
| Hide a layer mask | Alt-click layer mask thumbnail | Option-click layer mask thumbnail |
| Turn a layer mask solid black | Alt-click New Layer Mask icon | Option-click New Layer Mask icon |
| Split a Blend If slider in half | Alt-click the slider point | Option-click the slider point |
| Clip a layer to the one below | Ctrl Alt G | Command Option G |
| Open the Fill dialog | Shift Backspace | Shift Delete |
| Load a layer mask as a selection | Ctrl-click layer mask thumbnail | Command-click layer mask thumbnail |
| Load a layer’s pixels as a selection | Ctrl-click layer thumbnail | Command-click layer thumbnail |
| Group selected layers | Ctrl G | Command G |
| Stamp visible layers into one new layer | Ctrl Alt Shift E | Command Option Shift E |
| Toggle the red mask overlay | Backslash | Backslash |
| Pan the canvas | Space Bar | Space Bar |
| Save | Ctrl S | Command S |
| Select All | Ctrl A | Command A |
| Paste | Ctrl V | Command V |
| Merge down | Ctrl E | Command 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.

Choose Filter > Camera Raw Filter.
Click on the Geometry tab, and on the Upright options, choose Auto to apply automated balanced perspective corrections.

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.

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.

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.

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.

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.

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

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.


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.

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

Next, set the Color to Neutrals and adjust the Black slider to make it 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.

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.

Change the Blending Mode of the layer to Overlay.

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.

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).

Increase the Size slider to expand the stroke.
Right-click on the FX icon and select Create Layer.

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.

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.

Create a Color Balance adjustment layer and place it 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.

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

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.”

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.

Choose Filter > Camera Raw Filter.

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.

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.

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.

Once you’re done, press CtrlS (Windows) or CommandS (macOS) to save your changes.
Replace Merged Adjustments
Rename the layer to “Final.”

Press CtrlA (Windows) or CommandA (macOS) to select the whole canvas.
Choose Edit > Copy Merged.

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
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.
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.
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.
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.
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.
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.
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.
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.
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.
Keep going
Next, try the newer AI-powered Sky Replacement workflow instead of pulling a sky manually with Blend If.
Related Links
Final Image
Drag the slider to see before and after









