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


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
fill and stroke grids in Illustrator
Make Easy Grids in Illustrator

Easy Grids in Illustrator We all like easier ways to do...

High Pass Filter: Settings
Sharpen Images Using the High Pass Filter

Using the High Pass Filter There are many different ways to...

Free Halloween pumpkin Vectors
Free Halloween Pumpkin Vectors

Halloween Pumpkin Vectors It’s mid September, which means Halloween is just...

Parallels Free Html5 Template

Parallels Free Html5 Template One page templates have gained popularity in...

UI Hero Free Html5 Template

UI Hero Free Html5 Template Sometimes, you just come across a...

FlatMate Free Html5 Template

FlatMate Free Html5 Template Flat design has been popular for a...

50 Innovative Technology WordPress Themes

Technology WordPress Themes Technology WordPress themes can help you to answer...

Top 30 Farming and Agriculture WordPress Themes

Agriculture WordPress Themes How to start your farming and agriculture business...

50 Art & Culture WordPress Themes

50 Amazing Art and Culture WordPress Themes with a Twist ”...

Top 10 WordPress Themes for Law Firms

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