A layer mask is simply a way to hide parts of a picture or text.Even though the masked parts are hidden they are still available if you need them.In order to use a layer mask you need to understand two things:black takes away and white adds it back.When you create a layer mask your foreground and backgroundcolors change to black and white.If you fill an area on your layer mask with black, that area will disappear. However you use black,whether you use a brush, a selection, or a fill, thearea will disappear. The reverse holds true if you use white.White will reveal all there is in the layer mask while blackwill hide all there is in a layer mask.This is a simple layer mask tutorial.The purpose of this tutorial is to mask thelettering so that it looks like it's behind the glass and so you can have a basic understanding of how a layer mask works.
I started with this image of the strawberries (layer 2) which I placed in another document. I could of easily done this without placing it in another document but this is how I did it.Next, I typed in my text which created its own layer. In order to mask a type layer youmust render the type by using the menu Layer>Rasterize>Type.You need to create a layer mask as above. The Reveal All meanseverything on that layer can be seen and Hide All will make everythingdisappear. If you use Reveal All (which i always do) you need to useblack as your foreground color to mask out any areas you want to get rid of.If you use Hide All you will need to use white as your foreground colorto reveal everything which was hidden.
Once you create your layer mask, your text layer will have another icon on it.This is the actual layer mask which you will be working on. On this layer you have the actual rendered text thumbnail, a layer mask thumbnail, anda chain in between. The chain is a link which links the layer and the mask together so that they both move together if you decide to move the layer.For this project, I will be using a brush to mask out the areaof type I want hidden. My foreground color is set to black so Ican remove the parts of the layer I need to.
Make sure the layer mask is selected. It will have a border around it.I start at the top of the text with my brush with the foreground color set to black.By moving my brush along the shape of the glass the text disappears.
We're getting there, just keep painting with the brush.In this case I went too far and removed part of the text I didn't want to.
No big deal. The beauty of the layer mask is that all of the text is still there.I just have to get it back by using white instead of black as my foreground color.Using white will bring back what i mistakenly took away.and this is the finished project.This was a simple project on describing a layer mask. I hope it helps explain how a layer mask works.
Your browser does not support iframes.