Using Opacity Masks in Illustrator



Opacity Masks in Illustrator

When you are trying to learn new software, it can be difficult to find your way around. You may not know the terms to look for, or you may not know where to look to find what you are looking for. If you are transitioning from another program, such as Photoshop, you may be used to certain terminology, so when using Illustrator, you may be looking for something that isn’t even there. In Photoshop, if you want to blend something or fade it gradually, you would use a layer mask. In Illustrator, you don’t have layer masks. To To blend or fade away a portion of an object, you use something called an opacity mask.

This isn’t so straightforward, especially if you are used to layer masks in Photoshop. I will show you how to create an Opacity mask in Illustrator. it isn’t necessarily difficult, you just have to know where to look. Create a New Document in Illustrator. It can be any size that you want. I created a new document that is 1024px x 768px. I am using text to illustrate this method, and the text shown below is Myriad Pro Bold at 222pt size. I filled it with a solid blue.

opacity mask-text

Next, Select the Rectangle Tool and draw a rectangle over the bottom half of the text. Fill it with white. Then, make a copy of the rectangle by hitting Command/Ctrl + C. The paste in front by hitting Command/Ctrl + F. This automatically places a copy of the rectangle in front of the currently selected object.

opacity mask-rectangle

As you can see below, I moved the copy (just so you could see that there are two rectangles). You won’t want to move your rectangles at all. With the top rectangle still selected, change the fill to a liner gradient. To make the gradient fade in the direction that I wanted it to go, I had to change the angle to -90°.

opacity mask-copy

Now Select Both rectangles, but not the text. Remember that they are on top of each other. you may have to click and drag your mouse over the right hand or left hand side of the rectangle to avoid selecting the text as well.

opacity mask-gradient

Go to the Transparency Panel on the side and click the flyout menu. Then, select Make Opacity Mask.

opacity mask-transparency

What happens is that the gradient rectangle acts just like a layer mask in Photoshop. Anything white is left untouched, but anything that is a shade darker than white (light grey to black) is masked out. The closer that area is to black, the higher amount of transparency that will be applied.

opacity mask-Made

The Problem now is that we still have the bounding box of the rectangle to contend with. If you try to place something near the text, you will see the opacity mask and it may interfere with other objects. Select the text and copy it to your clipboard. Then, just as we did with the rectangle, hit Command/Ctrl +F to paste it in front. Go to Object> Arrange> Bring to front.

opacity mask-clipping

Then select the rectangle and the top layer of text. Hit Command/Ctrl +7 to make a clipping path, clipping the opacity mask to the shape of the text, as shown below.

Opacity Mask-final

Conclusion

Opacity masks in Illustrator aren’t difficult to master, but you might have worked in Illustrator for a long time and not even known that they were there. This technique is simple and easy to use, and you can combine it with other techniques to create realistic vector illustrations. Opacity masks are just another tool to help make your like easier when working in Illustrator. Have you found an interesting use for opacity masks in Illustrator? Do you have a tip to share regarding opacity masks? Share your thoughts in the comments section below.





One Comment
  1. January 31, 2013 | Reply

Your opinion is important to me. Be heard!

Dreamweaver Fireworks Flash Illustrator Indesign Lightroom Painter Photoshop Quark Typography
distressed-halftone-brush-strokes
21 Great Free Photoshop Brush Sets

Free Photoshop Brush Sets It’s been a while since I put...

typefaces-too-many
Common Typography Mistakes to Avoid

Common Typography Mistakes Typography isn’t just about the words. A lot...

perspective distortion in Illustrator
Perspective Distortion Tip in Illustrator

Perspective Distortion When you’re trying to create an illustration, getting the...

Premium
textured-wp-feat
20 Rebellious Textured WordPress Themes

Textured WordPress Themes 20 Extraordinary textured WordPress themes are quintessence of...

Monarch Social Sharing plugin
Breaking News: Elegant Themes Releases Monarch

Monach Social Sharing Those of you who’ve read my blog for...

large-background-images-feat
30 WordPress Themes With Large Background Images

Large Background Images Standard website layouts with logo and navigation on...

textured-wp-feat
20 Rebellious Textured WordPress Themes

Textured WordPress Themes 20 Extraordinary textured WordPress themes are quintessence of...

Monarch Social Sharing plugin
Breaking News: Elegant Themes Releases Monarch

Monach Social Sharing Those of you who’ve read my blog for...

large-background-images-feat
30 WordPress Themes With Large Background Images

Large Background Images Standard website layouts with logo and navigation on...

WordPress video courses
Enter to Win 1 of 5 WordPress Seo Courses

WordPress Seo Courses Even if you’re a really advanced blogger, chances...