Photoshop ยท Lesson 06 Layer Masks
1 / 13
Photoshop ยท Lesson 06
Delete Is Forever.
Masks Are Not.
There are two ways to remove pixels in Photoshop. One of them will haunt you. The other keeps your options open โ€” forever.
๐ŸŽญ The single most important habit shift in Photoshop: never destroy pixels you might need later.
The Core Choice
Two Ways to Hide Pixels
๐Ÿ—‘๏ธ
Delete
Pixels are gone. Permanently. No undo history tomorrow. No changing your mind next week. What you erased stays erased.
VS
๐ŸŽญ
Mask
Pixels are hidden โ€” still there. Paint to restore them in seconds. Change your mind tomorrow, next week, next year.
โœ… Masking is the professional standard. By the end of this lesson, deleting pixels should feel like something you almost never do.
The Concept
White Reveals. Black Conceals.
White
Fully visible. Pixels show through at 100%. White = reveal.
Gray
Partially transparent. Creates soft edges and gradual blends.
Black
Fully hidden. Pixels masked completely. Black = conceal.
๐Ÿ’ก A mask is a separate grayscale channel โ€” the original pixels remain completely intact beneath it at all times. Remove the mask and every pixel returns.
The Analogy
Think of a Window Blind
โ˜€๏ธ
Blind Up = White Mask
The blind is raised. You see straight through. The glass (your pixels) is still there โ€” unchanged. You just have a clear view.
โ†•
๐ŸŒ‘
Blind Down = Black Mask
The blind is lowered. Nothing gets through. But the window is still there, completely intact, waiting behind the blind.
๐ŸชŸ The window is your pixels. The blind is your mask. Raising or lowering the blind never changes the glass โ€” your pixels are always safe.
Technique
Three Ways to Add a Mask
A
Click the Mask button โ€” adds a white (show-all) mask
The rectangle-with-circle icon at the bottom of the Layers panel adds a white mask. The entire layer stays visible โ€” paint black to hide specific areas. Best when you want to start visible and hide parts.
B
Make a selection first, then click the Mask button
When an active selection exists, clicking the Mask button converts that selection into a mask โ€” showing only the selected area, black everywhere else. This is the standard workflow after Select Subject + Select and Mask.
C
Alt / Option + click the Mask button โ€” black (hide-all) mask
The layer disappears entirely. Paint white to reveal only the areas you want. Best for dodging and burning, or when you need to expose only a small portion of a layer.
๐Ÿ’ก After adding a mask, look in the Layers panel โ€” a second thumbnail appears next to the layer thumbnail. That's your mask.
Technique
Click the Mask Thumbnail First
๐Ÿšจ Most common masking mistake: painting on the layer instead of the mask. Click the mask thumbnail (right side of the layer row) โ€” it gets a white highlight border. Check before you paint.
โฌœ
Paint White
Reveals pixels. Use a soft round brush where you want to restore hidden areas of the layer.
โฌ›
Paint Black
Hides pixels. Use reduced brush opacity for gradual, natural-looking edges.
๐Ÿ–Œ๏ธ Brush shortcuts: B for Brush ยท [ / ] to resize ยท Shift+[ / Shift+] for hardness
Key Shortcut
The X Key Changes Everything
Foreground
Black = Hide
X
Swap
Foreground
White = Reveal
D
Press D โ€” reset colors to default black and white
Use this at the start of every masking session to make sure your colors haven't drifted.
X
Press X โ€” swap foreground and background instantly
No clicking swatches, no color picker. Tap X to hide, tap X again to reveal. D then X is your reset combo.
โŒจ๏ธ D to reset ยท X to swap โ€” these two keystrokes drive the entire mask painting workflow. Drill them until automatic.
Refinement
Fine-Tune in the Properties Panel
1
Select the mask thumbnail โ†’ click "Select and Mask" in the Options Bar
Opens the full refinement workspace โ€” use it to fix complex edges just like you'd refine a selection. Great for hair, fur, or ragged edges.
2
Feather slider โ€” softens the mask edge
With the mask thumbnail selected, the Properties panel shows a Feather slider. Even 1โ€“3 px of feather makes a cutout look naturally integrated instead of hard-edged and artificial.
3
Density slider โ€” fades the mask's overall strength
Reduces the opacity of the masked areas โ€” useful for ghosting effects or semi-transparent blends between layers.
4
Invert button โ€” flips the entire mask
White becomes black, black becomes white. Use this when you've built the mask inside-out, or to quickly reveal the background and hide the subject.
โš™๏ธ Properties panel not visible? Go to Window โ†’ Properties. It's one of the most useful panels in Photoshop.
Advanced Technique
Clipping Masks
Clip a layer to the shape of the layer directly below it โ€” no painting required.
๐Ÿ“
Classic Use
Bold type layer as the base, photo clipped above it โ€” the photo shows only inside the letter shapes.
๐ŸŽจ
Color Clips
Clip a color or texture layer to a shape layer to change its color without affecting anything else.
โš™๏ธ
Adjustment Clip
Clip an Adjustment Layer to one layer so it only affects that layer โ€” not everything below it.
โ†’
How to create: Alt / Option + click the line between two layers
Position the layer to clip directly above its base layer, then hold Alt/Option and click the dividing line. The top layer indents with a downward arrow โ€” it's clipped. Shortcut: Cmd/Ctrl + Alt/Opt + G.
๐Ÿ“Ž Multiple layers can be clipped to the same base. They all conform to the base layer's shape simultaneously.
Advanced Technique
Luminosity Masks
Instead of painting a mask by hand, use the image's own brightness values to build it automatically.
๐ŸŒ…
Exposure Blending
Blend a bright exposure for shadows with a dark exposure for highlights โ€” the mask follows the image's own tonal map for a seamless result.
โ˜๏ธ
Sky Replacement
Isolate a sky with complex edges โ€” trees, buildings, hair โ€” where a regular selection or hand-painted mask would struggle.
โ†’
How to create: Channels panel โ†’ Cmd/Ctrl-click the RGB channel thumbnail
Bright areas become white in the mask (fully selected), dark areas become black, midtones fall in between. Add a mask to any adjustment layer while that selection is active and you have a luminosity mask โ€” perfectly graduated in a way no human could paint.
๐Ÿ’ก This is just an introduction. Full luminosity masking โ€” including individual channel masks and inverted variants โ€” is a deep topic worth its own lesson.
Advanced Technique
Vector Masks
โฌก
Vector Mask
Uses a Pen Tool path. Mathematically precise โ€” infinitely sharp at any zoom or print size. Ideal for products, architecture, clean geometric subjects.
VS
๐ŸŽจ
Pixel Mask
Uses a painted grayscale bitmap. Supports soft, feathered, organic edges. Best for hair, fur, complex backgrounds, natural lighting.
โ†’
Draw a path with the Pen Tool โ†’ Layer โ†’ Vector Mask โ†’ Current Path
The path becomes a vector mask instantly. Edit any anchor point with the Direct Selection tool (A) and the mask updates live. A layer can have both a pixel mask and a vector mask simultaneously โ€” they work together.
โœ๏ธ Vector masks are especially valuable for product photography โ€” perfect sharp edges at any output resolution.
Three Rules to Keep
The Masking Mindset
01
White = Show. Black = Hide.
The entire masking system in five words. Gray creates partial transparency. Engrave this into memory.
02
D to Reset ยท X to Swap
These two keys drive your entire mask painting workflow. Drill them until they're automatic.
03
Always Mask. Never Delete.
Masking is a decision that stays reversible forever. Build this reflex now and you will never lose work again.
Open a photo in Photoshop and add a white layer mask
Paint black on the mask to hide part of the layer
Press D, then X โ€” swap colors and restore pixels with white
Check the Properties panel โ€” try the Feather slider
Up Next
Lesson PS-07 โ€” Photoshop
Adjustment Layers โ€” Non-Destructive Color & Tone, Every Time
Curves, Levels, Hue/Saturation, Color Balance โ€” and every adjustment layer comes with its own built-in mask. Everything you just learned applies directly.
Curves Levels Hue / Saturation Built-in Masks
Next Lesson โ†’
โŒ‚ Index