Layer Masks: Digital Masking Tape
Remember the last time you gave your walls a fresh coat of paint? You probably broke out a roll of masking tape and taped up the baseboards and molding so you wouldn’t get paint all over them. Sure, you could’ve have taken the baseboards off and put them back on once the paint had dried, but dadgum, that’s a lot of work. Besides, masking tape covers everything just fine. Hiding and protecting is masking tape’s special purpose and—what luck!—Photoshop has a digital equivalent: layer masks.
By adding paint to a layer mask, you can hide the content of the layer that the mask is attached to, whether it’s a pixel-based image layer, a smart object, a shape layer, a fill layer or—in the case of adjustment layers—a color or lighting change.
Learning to use layer masks will keep you from having to erase parts of an image to produce the effect you want. Once you erase, there’s no going back, and if your hand isn’t steady enough to erase around detailed areas, you may accidentally erase bits you want to keep. So, for example, instead of deleting a background so you can swap it with another one, you can use a layer mask to hide it, as shown in Figure 3-30. (You’ll find all kinds of other uses for layer masks sprinkled throughout this book.) As long as you save the document as a PSD file, you can go back and edit the mask anytime.
Figure 3-30. Wanna be a rock star? ...
Get Photoshop CC: The Missing Manual, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.