Our website will be down for scheduled maintenance on Thursday, September 18, at 11 p.m. Pacific Time and should be back up by Midnight. We apologize for any inconvenience.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using a gradient as an opacity mask

From: Illustrator Insider Training: Seeing Through Transparency

Video: Using a gradient as an opacity mask

Let's see how we can use an opacity mask to create an effect that is used quite often these days, something like a reflection. I'm looking at this file right here called reflection.ai and I have a flowerpot on a black background. And what I've done here in this file also is I've actually created a copy of the flowerpot and I've flipped it so that I now see an upside-down copy of it right here. So I have this flowerpot right here and I'm going to be using this flowerpot right here as reflection. Now obviously right now it's too strong. I want that reflection to kind of fade out as it goes down, but I need to use an opacity mask to make that happen.

Using a gradient as an opacity mask

Let's see how we can use an opacity mask to create an effect that is used quite often these days, something like a reflection. I'm looking at this file right here called reflection.ai and I have a flowerpot on a black background. And what I've done here in this file also is I've actually created a copy of the flowerpot and I've flipped it so that I now see an upside-down copy of it right here. So I have this flowerpot right here and I'm going to be using this flowerpot right here as reflection. Now obviously right now it's too strong. I want that reflection to kind of fade out as it goes down, but I need to use an opacity mask to make that happen.

Now first let's understand what I'm going to be using as my opacity mask. The answer is in this case a gradient. I want to create a gradient that's going to go from black to white and I'll use those values as an opacity mask for the upside-down flowerpot. Let's see how that's going to work. I'm going to start out by taking my regular Rectangle tool. I am just going to draw a rectangle right about over here. I wanted to cover basically the entire flowerpot that's going to act as a reflection. Now I don't need to stroke on this object, so I'm going to remove the stroke.

Let's set it to None and the Fill itself though it should be a gradient. I'm actually going to go to my Gradient panel right here and just click on this button right here, the default gradient. And now I have a gradient applied to this piece of art. Now the gradient goes from left to right, which doesn't really help me here, so I'm going to change the Angle of my gradient to, let's do -90 degrees. And I'll explain to you why I just have -90 instead of 90 degrees. Right now my gradient over here at the top is going to be white. That's going to fade down now to black. If you remember when we start creating these opacity masks, the white area is the part that's going to be visible where the black part is going to the part that becomes not visible.

So right now I really want to see this part of my flowerpot at full strength and then I want this slowly disappear as it moves downwards. If I started with black at the top of my gradient that will mean that this part would not be visible and it would slowly become visible as I move down. Now again in Illustrator it's not the end of the world, because I have the ability to invert my mask at anytime inside of my Transparency panel. So if I'm not happy with the direction that my mask is going in, I can always invert it. But again, I just wanted you to see this upfront as you start working with it so that in your mind you get a better idea of exactly how this opacity mask actually works.

So now I've created my object that's filled with a gradient. This is now going to become the mask for my artwork. Now the artwork that's underneath this right now is a group. So what I'm going to do is I'm going to switch to my Selection tool. I'm going to Marquee-drag here. I locked the background, so that won't become selected. And I now have these elements selected. The mask which is the gradient that's going to be on top, plus the group which is the artwork that appears at the bottom of my stacking order. Now I'm going to go to my Transparency panel and click on the fly-out menu and choose to Make Opacity Mask.

So now let's go ahead and deselect and see what happens here. You can see that the flowerpot appears at full strength over here, but as it starts to fade down it slowly starts to fade out. The thing though it's doesn't really fade out nearly as fast as I need it to, but that's okay, because we can always make adjustments to our opacity masks. So let's see how to do that. I'm going to click on this element right here. Now remember the gradient is gone. It's no longer here. The gradient is kind of like embedded into that artwork and it controls the visibility of that artwork. So again, if I were to look in my Layers panel right now and I would see that group right now that I'm working with, that has the dashed underline, which lets me know that right now there is something that is controlling the visibility of that entire group.

And obviously that's an opacity mask, because I see the dashed line. I know to look at my Transparency panel and I see the mask right here. So I'm going to click on the mask. I now see that the opacity mask is a regular path. It's filled with a gradient. So all I really need to do is adjust the gradient. Now remember the white part of the gradient is going to be visible; the black part of the gradient is not going to be visible. So if I now bring the black part of the gradient kind of in somewhat, notice how more of that flowerpot seems to disappear. And if I use this little slider here to control exactly how fast or slowly that disappears, I can start to control exactly how my gradient or how my reflection actually looks.

So now if I deselect, I kind of really am happy with the way that reflection looks right now. Now I will remember to click back on this icon over here. Remember if I don't, I'm always going to be inside of my opacity mask, which I no longer need access to. So I'm going to click back on the regular thumbnail and now I'm back to working inside of my document. So what I've been able to do here is use a regular plain gradient as an opacity mask to create a really cool reflection here inside of Illustrator.

Show transcript

This video is part of

Expand all | Collapse all
  1. 7m 4s
    1. Welcome
      1m 6s
    2. The history of vector transparency
      4m 2s
    3. Getting the most out of this training
      1m 30s
    4. Using the exercise files
      26s
  2. 6m 21s
    1. Transparency living in a world of PostScript
      2m 56s
    2. Transparency...it's everywhere
      2m 13s
    3. Transparency across Adobe applications
      1m 12s
  3. 42m 20s
    1. Deconstructing the Transparency panel
      7m 48s
    2. Adding transparency to gradients
      4m 59s
    3. Using the Isolate Blending setting
      5m 20s
    4. Understanding how overprints and knockouts work
      6m 26s
    5. Using the Knockout Group setting
      6m 47s
    6. Using the Knockout Group setting without a group
      6m 2s
    7. Understanding the Opacity & Mask Define Knockout Shape setting
      4m 58s
  4. 36m 26s
    1. What is an opacity mask?
      3m 37s
    2. Learning from channels in Photoshop
      7m 20s
    3. Creating an opacity mask
      6m 44s
    4. Editing an opacity mask
      5m 31s
    5. Using a gradient as an opacity mask
      4m 44s
    6. Using image pixels as an opacity mask
      4m 4s
    7. Using a complex appearance as an opacity mask
      4m 26s
  5. 53m 30s
    1. Understanding transparency flattening
      5m 58s
    2. Learning the two rules of flattening
      8m 1s
    3. Understanding the concept of complex regions
      7m 47s
    4. Exploring the Transparency Flattener options
      11m 44s
    5. The relationship between flattening and stacking order
      8m 22s
    6. Using the Flattener Preview panel
      8m 3s
    7. Creating and sharing flattener presets
      3m 35s
  6. 24m 37s
    1. Working with PostScript (EPS) files
      7m 22s
    2. Placing Illustrator files into InDesign layouts
      3m 59s
    3. Copying graphics from Illustrator
      2m 41s
    4. Saving PDF files
      4m 41s
    5. Using the PDF/X standards
      4m 36s
    6. Printing files from Illustrator
      1m 18s
  7. 34s
    1. Next steps
      34s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Illustrator Insider Training: Seeing Through Transparency.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.