Layer Masking & Compositing
Master non-destructive photo editing with layer masking
Layer Masking Fundamentals
Non-Destructive Editing
Layer masks hide parts of a layer instead of permanently removing them, maintaining complete editability throughout your workflow.
Mask Logic
White areas reveal pixels completely, black areas hide them entirely, and gray areas create varying levels of transparency.
Flexible Compositing
Multiple elements can share the same mask by grouping layers, enabling efficient sky replacements and complex compositions.
You'll need three files from the Photoshop Adv Class folder: BeachFamily.psd, sky1.psd, and sky2.psd. Save your working file as yourname-BeachFamily.psd to preserve the original.
Workspace Setup Process
File Management
Close all open files and open BeachFamily.psd, sky1.psd, and sky2.psd from the class folder
Save Working Copy
Save BeachFamily.psd with your name prefix to maintain the original file
Arrange Windows
Use Window > Arrange > Float All in Windows to position files for easy dragging between documents
Always hold Shift when releasing a dragged layer to automatically center it in the destination document. This ensures proper alignment for compositing work.
Sky Addition Workflow
Ensure the source file is active before dragging
Centers the sky layer automatically in the destination
Keeps workspace clean and layers organized
Selection and Masking Process
Initial Selection
Use Magic Wand with 20 tolerance, clicking multiple times while holding Shift to select the entire sky area
Corner Refinement
Switch to Lasso tool and Shift-drag around top corners to complete the sky selection
Apply Layer Mask
With sky layer selected, click Add Layer Mask button to create the mask from your selection
Refine Edges
Use Select and Mask with 0.4px feather and 60% shift edge to eliminate halos and improve blending
Take time to select all sky areas including corners. Incomplete selections will result in visible artifacts where the original sky shows through the new composite.
Layer Mask Visualization Modes
Mask View
Option/Alt-click the mask thumbnail to see the grayscale mask. White areas show where pixels are fully visible.
Normal View
Click the layer thumbnail to return to normal composite view and see your blended result.
Mask Disabled
Shift-click the mask thumbnail to temporarily disable it and see the unmasked layer.
Where a layer mask is black, pixels on that layer are completely hidden. Where the mask is completely white, pixels on that layer are fully visible.
Mask Sharing Workflow
Add Second Sky
Drag sky2.psd into your document using the same Shift-drag technique for proper centering
Group Layers
Select both sky layers and use Layer > Group Layers to create a 'skies' group
Move Mask to Group
Drag the layer mask icon from sky1 up to the group level to apply it to both sky layers
Test Alternatives
Hide and show different sky layers to compare options and adjust positioning with Move tool
The tutorial acknowledges that color and tone matching between the new skies and original image needs correction, which will be covered in the next exercise.
Key Takeaways

and drag the sky image onto BeachFamily.psd. Hold Shift when you release the mouse—this automatically centers the sky layer in the destination document, ensuring optimal positioning.
. If it's not visible, click and hold the Quick Selection tool
and choose it from the flyout menu, or press Shift–W to cycle through selection tools.
, which offers more precision in tight areas.
at the bottom of the panel.
and choose a small, soft-edged brush for precise touch-up work.

