Sub topic 8
Limiting an Adjustment with Its Layer Mask
This chapter assumes you can create an adjustment layer, use the Layers panel, and understand that white reveals a layer while black hides it. You will use those skills to apply one adjustment to selected parts of an image without changing the original pixels.
An adjustment layer normally affects every visible layer below it. Its layer mask controls where that effect appears. A mask is a grayscale image attached to a layer:
- White reveals the adjustment completely.
- Black hides the adjustment completely.
- Gray reveals the adjustment partially.
The mask does not erase image content. It changes the adjustment’s visibility, so you can edit the mask later.
Create a mask for a local correction
Suppose a landscape photo has a bright sky and a dark foreground. You create a Curves adjustment to brighten the foreground, but the same curve makes the sky too bright. A mask can hide the brightening from the sky.
- Add a Curves adjustment layer above the image.
- Adjust the curve until the foreground has the brightness you want.
- In the Layers panel, click the white mask thumbnail attached to the Curves layer.
- Choose the Brush tool.
- Set the foreground color to black.
- Paint across the sky on the mask.
The Curves adjustment remains active, but black paint hides it in the painted areas. If you paint with white, the adjustment becomes visible again. Lowering the brush opacity creates gray pixels gradually, which produces a softer transition.
A mask thumbnail gives you a quick visual check. White regions show where the adjustment is active. Black regions show where it is hidden. Gray regions show partial application.
Edit the mask precisely
For clean edges, make a selection before creating or editing the mask. For example, select a person with the Object Selection tool, then add a Curves adjustment layer. Photoshop uses the selection to create a mask that reveals the adjustment inside the selection and hides it outside.
You can also load an existing mask or selection:
- Ctrl-click on Windows or Command-click on macOS the layer thumbnail to load the layer’s visible shape as a selection.
- Click the adjustment layer’s mask thumbnail.
- Fill the selected area with white or black, depending on whether you want to reveal or hide the adjustment.
To reverse the mask, select its thumbnail and choose Image > Adjustments > Invert, or press Ctrl+I on Windows or Command+I on macOS. A white mask becomes black, and a black mask becomes white.
Use a soft brush, a low opacity, or a gradient when the transition should be gradual. Hard brush edges can create visible halos around subjects. Zoom in to inspect edges, then zoom out to judge whether the correction looks natural at normal viewing size.
Mask versus clipping
A mask can limit an adjustment to a complex shape or several separate areas. A clipping adjustment is tied to the layer directly below it and is useful when you want an adjustment to affect one object or layer only. You can combine both methods: clip the adjustment to one layer, then use its mask to restrict the effect within that layer.
If the result looks wrong, do not delete pixels. Select the mask and paint with the opposite color, fill it with gray, or adjust the correction itself in the Properties panel.
Exercise
You brighten a subject with Curves, but the background is also brightened. What should you edit, and which mask color hides the adjustment from the background?
Show answer
Edit the Curves layer’s mask. Paint the background area black to hide the adjustment there.