Sub topic 8
Opacity versus Fill Opacity
This chapter assumes you can create and reorder layers, you know what pixel, shape, and type layers are, and you have used blend modes and the basic Opacity slider. It also assumes you have opened the Layer Style dialog and turned on at least one effect, which the previous chapters cover.
By the end you will know what each slider changes, why a layer can look "invisible" and still show a shadow, and how both sliders behave when a clipping mask is involved.
Two sliders, two scopes
The Layers panel has two transparency controls near the top: Opacity and Fill. They look alike, and on a layer with no layer style they give the same result. The difference appears only when the layer has effects such as Drop Shadow, Stroke, or Bevel & Emboss.
- Opacity controls the whole layer: its pixels, shape, or text, plus every layer style effect.
- Fill (also called Fill Opacity) controls only the layer's own content. Layer style effects keep their own strength.
A useful way to remember it: Fill is "the stuff on the layer," and Opacity is "the stuff on the layer plus everything attached to it."
| Control | Affects layer content | Affects layer style effects | Range |
|---|---|---|---|
| Opacity | Yes | Yes | 0% to 100% |
| Fill | Yes | No (with exceptions, see below) | 0% to 100% |
A first example
Suppose you have a type layer with the word "GLASS" in white and a black Drop Shadow. Compare three settings:
| Opacity | Fill | What you see |
|---|---|---|
| 100% | 100% | Solid white text with a full-strength black shadow |
| 50% | 100% | White text and shadow are both half transparent |
| 100% | 0% | The white text vanishes. The shadow remains at full strength |
The third row is the useful one. With Fill at 0%, the letters are gone, but the shadow is still drawn around where the letters were. Photoshop draws the shadow from the layer's shape, not from how visible the content is. This is the basis of many effects: glass, etched or embossed text, outlined lettering, and "ghost" watermarks.
How the rendering order works
Photoshop renders a styled layer in stages. Fill is applied to the content first. The effects are then added using the layer's shape. Opacity is applied last, over the combined result.
This explains the behavior in the table. Fill acts before the effects are added, so it never touches them. Opacity acts after, so it scales everything together.
Effects and how they respond to Fill
Not every effect behaves the same way when Fill is lowered. The effects fall into groups.
Effects that ignore Fill
Drop Shadow, Outer Glow, and Stroke (when its position is Outside) are drawn outside or around the layer's shape. They keep their full strength at any Fill value. These are the effects you use with Fill 0% to create outlines and glows around invisible content.
Effects that replace the content
Color Overlay, Gradient Overlay, and Pattern Overlay paint over the layer's content. Lowering Fill reduces the layer's own pixels, but the overlay does not fade with it in the usual way. In practice, an overlay at Fill 0% still shows at its own opacity. This is why a Gradient Overlay on a Fill 0% layer is a common way to tint a shape without using the original pixel colors.
Effects that depend on the content
Inner Shadow, Inner Glow, Bevel & Emboss, Satin, and Stroke set to Inside or Center are drawn inside the shape, on top of the content. They stay visible at Fill 0%, which is how you make a transparent "glass" object that still has edges and highlights. How strong they look can still depend on the blend mode you choose for each effect.
A caveat about blend modes
Some blend modes inside a style effect (for example Multiply on an Inner Shadow) calculate their result against whatever is below them. If the layer content is hidden with Fill 0%, the effect blends against the layers underneath instead of against the layer's own pixels. The result can look different from what you saw at Fill 100%. If an effect changes appearance when you lower Fill, check its blend mode first.
Worked example: glass lettering
This walkthrough uses Fill 0% and several effects to turn plain text into a glass look. Use any photo as a background.
- Place a photo in the document. Add a type layer above it with the text "GLASS" in a heavy sans-serif font, around 200 pt, in white.
- In the Layers panel, set Fill to 0%. The letters disappear.
- Double-click the type layer to open the Layer Style dialog.
- Turn on Inner Shadow: Blend Mode Multiply, color black, Opacity 40%, Angle 120°, Distance 6 px, Size 12 px.
- Turn on Stroke: Size 2 px, Position Inside, Blend Mode Normal, color white, Opacity 70%.
- Turn on Drop Shadow: Blend Mode Multiply, color black, Opacity 35%, Distance 10 px, Size 14 px.
- Click OK.
The letters now appear as clear edges with soft depth, and the photo shows through them. To fade the whole effect later, lower Opacity instead of changing each effect. If you lowered Fill further, nothing would change, because it is already at 0%.
Fill and layer types
Fill works on all layer types, but the way it appears differs.
- Pixel layers: Fill scales the alpha (transparency) of the pixels.
- Type layers: Fill scales the text color. The text stays editable.
- Shape layers: Fill in the Layers panel scales the shape's fill and stroke from the Properties panel together. A shape's own fill color opacity is a separate setting in the options bar or Properties panel, so you can end up with two fill-related controls on the same layer. Both multiply together.
- Smart Objects: Fill and Opacity both apply to the object as a whole. Filters applied to a Smart Object are Smart Filters and have their own blend options, which are not controlled by Fill.
For adjustment layers, Fill has no useful effect, since they have no pixels of their own. Use Opacity to weaken an adjustment layer.
Fill, Opacity, and clipping masks
Clipping masks add one more setting that affects how these sliders combine. Each layer style has an option in Layer Style > Blending Options > Advanced Blending called Blend Clipped Layers as Group. It is on by default for normal layers.
When this option is on, the clipped layers inherit the base layer's blend mode, as a group. When it is off, each clipped layer blends independently with what is below the base layer.
For Opacity and Fill, three rules matter:
- The base layer's Opacity affects the whole clip group. If the base is at 50% Opacity, the base and all clipped layers appear at 50% together.
- The base layer's Fill affects the base layer's pixels, and therefore the visible area of the clip. If the base layer's pixels become transparent through Fill 0%, the clipped layers are masked to nothing. The clipping is controlled by the base layer's pixel transparency, so a base at Fill 0% usually hides the clipped content too. Check this in your own files, because the result depends on the "Transparency Shapes Layer" and "Blend Clipped Layers as Group" settings.
- A clipped layer's own Opacity and Fill act only on that layer. A clipped photo at 60% Opacity lets the base show through, but leaves the other clipped layers unchanged.
The next chapter covers these interactions in more detail. For now, the working rule is: Opacity changes the whole group, Fill changes what the base layer contributes.
Using the sliders from the keyboard
You can change both values quickly without moving the pointer to the panel. Select a layer and use a number key:
- A single digit key sets Opacity, so 5 means 50%. Typing two digits quickly, such as 7 then 5, sets 75%. 0 means 100%.
- Holding Shift while typing a number sets Fill instead. Shift+5 sets Fill to 50%.
These shortcuts work with most tools active, but not with tools that use number keys for their own flow, such as brushes, where numbers change the tool's opacity instead. Switch to the Move tool (V) first if the numbers do not change the layer.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Layer content vanished and only a shadow remains | Fill is 0% | Raise Fill, or keep it at 0% if the shadow is the goal |
| Shadow is still visible after lowering Opacity to 0% | The effect is on a different layer, such as a duplicate | Check the Layers panel for another styled layer |
| Fill slider has no visible effect | The layer has no styled content to compare, or it is an adjustment layer | Use Opacity instead |
| Effect looks different at Fill 0% than at Fill 100% | A blend mode in the effect depends on the layer content | Change the effect's blend mode or set Fill higher |
| Clipped photo disappears when you lower the base's Fill | Base pixels went transparent and the clip depends on them | Keep Fill at 100% on the base, or restructure the layers |
| Number keys change the brush, not the layer | A painting tool is active | Press V to select the Move tool |
Decision guide
- Use Opacity when you want to fade a whole layer, including its effects, as one unit.
- Use Fill when you want the content to fade while the effects stay at full strength.
- Use Fill 0% with Stroke, Inner Shadow, Bevel & Emboss, and Drop Shadow for glass, etched, and outline looks.
- For clipped content, adjust Opacity on the base to fade the group. Avoid setting the base's Fill to 0% unless you have confirmed the clipped content stays visible.
Exercise
A text layer has a white fill and a Stroke effect (Position: Outside, color red). You set Fill to 0%. What do you see, and what changes if you then set Opacity to 50%?
Show answer
With Fill at 0%, the white text content disappears, but the red outside Stroke remains at full strength, so you see a red outline of the letters. Setting Opacity to 50% then fades the whole layer, including the Stroke, so the red outline becomes half transparent.
Exercise
You want a drop shadow to stay fully visible while the letters it belongs to fade away to nothing. Which slider do you move, and which value do you choose?
Show answer
Move Fill to 0%. Fill affects only the layer content, so the letters disappear while the Drop Shadow, which is drawn from the layer's shape, keeps its own strength. Using Opacity would fade the shadow as well.
Exercise
A photo is clipped to a shape layer. You set the shape's Fill to 0% to show only its Stroke, and the photo disappears. Give one way to get an outline while keeping the photo.
Show answer
Keep the base shape at Fill 100% so the clip stays intact and the photo remains visible. Duplicate the shape layer, move the duplicate above the clip group, set its Fill to 0%, and give it a Stroke. The duplicate shows the outline on top of the photo without affecting the clipping.