Sub topic 8
Density and Feather in the Properties panel
This chapter assumes you can create a layer mask, paint on it with the Brush tool, and find the Layers and Properties panels. It covers the two sliders that change a mask without repainting it: Density and Feather. You will learn what each one does to the mask's pixels, when to use it, and where it fails.
Where the controls live
Select a layer that has a pixel mask by clicking the mask thumbnail in the Layers panel. Open the Properties panel with Window > Properties. The panel shows the Masks section for that mask.
The thumbnail click matters. If the layer thumbnail is active, the panel shows the layer's own properties and the mask controls are missing. The mask thumbnail must have its highlight border.
The panel offers these controls:
- Density controls how strongly the mask hides pixels.
- Feather controls how soft the mask's edges are.
- Select and Mask opens the refinement workspace. A later chapter covers it.
- Color Range builds a selection from sampled colors and applies it to the mask.
- Invert flips the mask values.
- Load selection, Apply mask and Delete mask buttons sit along the bottom of the panel.
Both sliders are live. You can change them at any time, and they do not destroy the painting underneath. This is the main reason to prefer them over repainting.
How Density works
Recall that white in a mask reveals the layer and black conceals it. Density scales how much of that concealing the mask performs.
At 100% (the default), the mask works at full strength. Black areas fully hide the layer. At lower values, the black areas become less opaque, so the layer shows through them.
At 0%, the mask has no visible effect, and the whole layer shows as though no mask existed. The mask is still there, and its painted data is still stored.
Density does not change the white areas. White still reveals fully. Only the concealing part of the mask is reduced. In practical terms, Density raises the black point of the mask. A mask that was black, white and gray becomes dark gray, white and lighter gray.
A worked example
Suppose you have a photo layer above a background, and you painted a mask so a person is revealed against a replaced sky. The person's edges look right, but the sky layer's cutout leaves the original sky completely hidden, so the result looks pasted on.
Set Density to about 85%. The hidden regions now let 15% of the layer show through. The layer blends with what is beneath it, and the join between the two images looks more natural. You never touched a brush.
If you later decide the effect is too strong, drag Density to 100% again. The original mask is intact.
Density on adjustment layers
Density is especially useful for adjustment layers, because their masks control how much of an effect applies. A Curves layer with a mask that excludes the sky can be tuned with Density to let a little of the curve reach the sky. This is quicker than repainting the sky area with a gray at 15%.
Compare it with the layer's Opacity slider. Opacity scales the whole effect, including the revealed areas. Density scales only the masked-out areas. They solve different problems.
| Control | What it scales | White areas | Black areas |
|---|---|---|---|
| Layer Opacity | The whole layer or effect | Reduced | Still hidden |
| Mask Density | The concealing strength of the mask | Unchanged | Partly revealed |
How Feather works
Feather applies a Gaussian blur to the mask. Hard edges between white and black turn into gradual transitions of gray. The value is in pixels, from 0 to 1000.
At 0 px, the mask edges stay exactly as painted or selected. At higher values, the transition between revealed and concealed regions widens. A 20 px feather spreads the edge across about 20 px on each side, though the visible softness depends on the image's resolution.
Feather is global. It blurs the whole mask by the same amount. You cannot soften one edge and keep another sharp. When you need different softness in different places, paint or use a gradient instead.
Resolution matters
Feather is measured in pixels, not in physical units. A 30 px feather on a 1000 px wide web image is a large, obvious blur. On a 6000 px wide camera file it is nearly invisible. When you resize an image or work at a different resolution, adjust the value to match.
A worked example
You selected a product with the Quick Selection tool and created a mask from it. The edge looks like a cutout, with a hard line against the new background.
- Click the mask thumbnail so it is active.
- Drag Feather to 1.5 px for a 3000 px wide file.
- Zoom to 100% and look at the edge. It should appear slightly soft and not stepped.
- If a light halo remains, increase the value gradually, to about 3 px. Stop when the edge looks natural at 100%.
Most realistic subject edges need a small feather. Photographic edges are rarely perfectly sharp, so a hard mask edge looks artificial. Large values suit shadows, vignettes and broad lighting changes.
Feather versus a feathered selection
Photoshop also has Select > Modify > Feather for selections. The two produce similar softness but behave differently in one respect: a feathered selection is applied once, when you convert it to a mask, and the softness is baked into the mask pixels. The Properties panel Feather stays adjustable. You can change or remove it later.
Because of this, prefer the panel's Feather for a non-destructive workflow. Use selection feathering only when you need it before another operation, such as filling a selection.
How the two controls combine
Both settings are non-destructive and stored with the mask. They act as adjustments on top of the painted data. You can set Density to 70% and Feather to 10 px together.
The order that Photoshop applies them does not matter for what you see. You adjust the sliders until the result looks right.
The painted pixels are never altered by these steps. Set both sliders to their defaults (0 px and 100%) and the original mask returns.
Common errors and gotchas
The sliders are missing or disabled
The most frequent cause is that the layer thumbnail is selected and not the mask thumbnail. Click the mask thumbnail. If the layer has no pixel mask at all, the Masks controls do not appear. A vector mask has its own Density and Feather controls in the same panel, but they behave on the vector shape rather than pixels.
Applying the mask bakes in the settings
When you use Apply Mask, Photoshop merges the effective mask into the layer pixels. The Density and Feather settings become permanent, and you lose the ability to adjust them. Do not apply a mask unless you need to flatten the layer for a specific reason.
Painting after feathering can surprise you
When you paint on a mask whose Feather is above 0, the strokes you add are also subject to the blur and the Density scaling. A stroke can appear softer or weaker than expected. If a hard-edged stroke looks soft, check the Feather value. Setting it back to 0 temporarily can help you see what you actually painted.
Feather bleeds at the canvas edge and across thin details
A blur spreads in every direction, so thin white shapes, such as hair, fine branches or narrow lines, fade as Feather increases. A high value can erase a thin detail altogether. If a mask contains fine structure, keep Feather low and refine the edge in Select and Mask instead.
Density at less than 100% leaves a ghost
If you set Density below 100% and forget, hidden content remains faintly visible. This shows up as a ghosted edge or a faint layer in areas you believed were hidden. When a mask seems not to hide fully, check Density first.
Choosing between sliders and painting
| Situation | Better choice |
|---|---|
| Soften every edge of a cutout evenly | Feather |
| Let a little of the hidden layer show everywhere | Density |
| Soften only one edge | Paint or use a gradient |
| Reveal a different amount in different regions | Paint with gray |
| Temporary test of how strong an effect should be | Density |
Use the sliders for global, reversible changes. Use painting for local ones.
Practice routine
- Open a two-layer document. Add a mask to the top layer using Reveal All.
- Make a rectangular selection in the middle and fill it with black on the mask.
- Raise Feather to 40 px and watch the edge soften.
- Lower Density to 50% and watch the hidden rectangle become half visible.
- Set both back to defaults and confirm the original hard-edged mask returns.
Exercise
A mask hides a sky area completely. You want about 20% of the layer to show through that area, and you want to keep all edges exactly where they are. Which control do you change, to what value, and why is it better than painting?
Show answer
Set Density to 80%. Density limits how strongly the black areas conceal the layer, so 20% of the layer shows through. The edges stay as painted. Painting a gray would work but changes the mask data permanently, while Density can be reset to 100% at any time.
Exercise
You select a mask on a 6000 px wide photo and set Feather to 2 px. The edge still looks hard. Name two possible reasons and what you would try.
Show answer
The file is large, so 2 px is a very small blur relative to the image. Try a larger value, such as 8 to 15 px, and check at 100% zoom. Also check that the mask thumbnail, not the layer thumbnail, is active, since the slider affects only the active mask.
Exercise
After applying a mask, you notice you can no longer lower Density. Why, and how could you have avoided losing that option?
Show answer
Apply Mask merges the effective mask, including its Density and Feather, into the layer pixels, so no mask remains to adjust. To avoid this, keep the mask, or duplicate the layer before applying it.