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
bjango actions
Bjango Actions 2.0 (Awesome Photoshop Actions)

Bjango Actions 2.0 I love creating icons and icon sets. There’s...

vintage-vector-badges-feat
Free Retro & Vintage Vector Badges

Vintage Vector Badges There’s something special about vintage design that everyone...

real estate wordpress themes
30 Premium Real Estate WordPress Themes

30 Real Estate WordPress Themes to be the Leader One super...

Premium
open-cloud
Open Cloud Free Html5 Template

Open Cloud Free Html5 Template Finding unique website templates to share...

6
Top 10 WordPress Themes for Law Firms

Whenever you think of lawyers you think sharp suits, sharper tongues,...

konefix free html5 template
Konefix Free Html5 Template

Konefix Free Html5 Template A simple and streamlined site is usually...

6
Top 10 WordPress Themes for Law Firms

Whenever you think of lawyers you think sharp suits, sharper tongues,...

premium-wp-themes-feat
Selling the Better Idea: 50 Most Popular Premium WordPress Themes

The 50 Most Popular Premium WordPress Themes People want to be...

47405-wp-b
50 Premium Smashing Business WordPress Themes

Top 50 Smashing Business WordPress Themes for Success Sooner or later,...

premium Wordpress themes feat
3 Premium WordPress Themes for Free From ThemeFuse

3 Premium WordPress Themes for Free! The creative designers over at...