Add a layer mask
- Start with a document that has at least two images, each on a separate layer. Select the top image layer in the Layers panel.
- Click the Add layer mask button in the Layers panel. This adds a white layer mask to the selected layer. You can still see everything on the layer with the mask, because the mask is white.
Paint on the layer mask with black, white, and gray
- In the Layers panel, make sure there is a white border around the layer mask thumbnail. If there is not a white border, click the layer mask thumbnail.
- Select the Brush tool in the Toolbar. In the Options bar, open the Brush Picker to set brush size and hardness. Drag the Hardness slider toward the left to create a soft brush tip.
- Press D and then press X on the keyboard to set the foreground color to black and the background color to white.
- Paint over the image in the document window to add black to part of the layer mask. The black hides the corresponding part of the layer that contains the mask, so the image on the layer underneath shows through. Soft edges of the brush apply gray to the layer mask, creating a gradual transition between the layered images.
- If you hide more of a layer than you intended to, press X on the keyboard to switch the foreground color to white. Then paint over hidden areas of the layer that contains the mask. This adds white to the mask, bringing those areas back into view.
Tip: A quick way to change brush size as you paint is to press the right bracket key on the keyboard to increase brush size or press the left bracket key to decrease brush size.
Tip: Reducing the brush Flow value in the Options bar allows you to build up shades of gray as you paint with black on a layer mask. Shades of gray on a layer mask partially hide the layer that contains the mask.
Save your work with layers
- Save the image in .PSD or .TIFF format to retain layers and layer masks for future editing.