Sub topic 8
Controlling Filter Area with the Smart Filter Mask
Assume you can select layers, use the Layers panel, create a layer mask, and apply basic filters. A smart filter mask works like a layer mask, but it controls where filters affect a smart object.
How the smart filter mask works
When you apply a filter to a smart object, Photoshop adds a Smart Filters section below the layer. A white mask thumbnail appears beside the section. White reveals the filter, black hides it, and gray applies it partially.
The mask affects all smart filters listed in that section. For example, if Gaussian Blur and Unsharp Mask are both applied to one smart object, painting black on the smart filter mask hides both effects in that area.
A smart filter mask does not erase pixels. It changes the visibility of the filter result, so you can revise the mask later.
Restricting a filter to part of an image
Use this workflow to blur a background while keeping a subject sharp:
- Select the smart object layer in the Layers panel.
- Choose Filter > Blur > Gaussian Blur.
- Set the blur amount and select OK.
- Click the white smart filter mask thumbnail.
- Choose the Brush tool.
- Set the foreground color to black.
- Paint over the subject.
The blur remains active on the whole smart object, but the black areas of the mask hide it. To create a soft transition, lower the brush hardness and paint with a lower opacity. Gray pixels produce partial filtering, which creates a gradual edge.
You can also start with a selection. Select the subject before applying the filter, then select the smart filter mask and fill the selected area with black. This creates a precise starting mask. Refine the edge with a soft brush afterward.
| Mask color | Filter result |
|---|---|
| White | Filter is fully visible |
| Black | Filter is hidden |
| Gray | Filter is partially visible |
Editing and checking the mask
Click the mask thumbnail whenever you want to paint or edit it. Shift-click the thumbnail to disable the mask temporarily and compare the filtered and unfiltered image. Shift-click it again to restore the mask.
Alt-click on Windows, or Option-click on macOS, the thumbnail to display the mask itself. This helps reveal missed areas, hard edges, and unwanted gray halos.
To adjust the mask without repainting, open the Properties panel. Density changes the overall strength of the mask, while Feather softens its edges.
A common error is painting on the smart object thumbnail instead of the mask thumbnail. Another is using white when the goal is to hide the filter. Press D to reset the foreground and background colors, then press X to switch to black when needed.
Exercise
You applied a blur to a smart object and want the blur hidden over one person's face. What should you do?
Show answer
Select the smart filter mask, set the foreground color to black, and paint over the face. Use a soft brush for a gradual transition.