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

Using Stencil Luma

From: After Effects Apprentice 05: Creating Transparency

Video: Using Stencil Luma

So by now you're familiar with the concept of what a track matte does. It's a pair of layers where the layer on top contributes transparency either through its alpha channel or its luminance values and that is used as a new alpha for the layer immediately underneath. A variation on this theme are stencils. Stencils cut out everything underneath, not just a single layer that happens to be underneath the transparency layer. Let's see that at work. I am going to open up a new comp here. 11-Stencil Luma*starter.

Using Stencil Luma

So by now you're familiar with the concept of what a track matte does. It's a pair of layers where the layer on top contributes transparency either through its alpha channel or its luminance values and that is used as a new alpha for the layer immediately underneath. A variation on this theme are stencils. Stencils cut out everything underneath, not just a single layer that happens to be underneath the transparency layer. Let's see that at work. I am going to open up a new comp here. 11-Stencil Luma*starter.

Just to show you what I've done I've created an interesting little composite here. I've taken our Cityscape layer and used an Invert effect to make it look more graphical, and then I applied the VirtualInsanity layer on top and used a blend mode, Overlay, to make things look more interesting. Blend modes were discussed in the Layer Control lesson. Let's say I want to track matte to cut through both of these layers. Well, I could apply it twice and have it cut out each of these individually, or I can use stencils. I am going to go down, pick out our Cloud Matte that we used earlier.

Again, this is just grayscale values of this smoke emerging from the side of the screen and rather than use something underneath the Track Matte header, I actually need to go underneath the Blending Mode header. I'll choose Stencil Luma. Luma for Luminance, and now the grayscale values of the Cloud matte will be imposed on all of the layers underneath, including my composite of those two other layers. You'll see it emerge there. Again this is stacking order sensitive. Drag it a little wider here, so you see the whole name.

If I drag the Cloud Matte Stencil between these two layers, the stencil will only cut out the layer underneath, the Cityscape layer. Now, the VirtualInsanity layer is affecting the entire composite. Drag it on top and now it'll cut out both of those layers underneath. Another difference with stencils compared to track mattes is with track mattes you had Luma and Luma Inverted, but with stencils you have Stencil or Silhouette. Silhouette is an inverted stencil and you'll see it gives us the opposite result.

Here's the transparency with the transparency grid. I'll go back to Stencil Luma and there's the transparency grid. So stencils are kind of like overachieving track mattes. They cut out everything underneath. Now a caveat, if you wanted to put this composite over a background, you could not put the background in this comp. The stencil would cut out the background as well. You would need to use this group as a composition, drag that comp as if it was one layer, one footage item into another comp, then composite it over background just like we showed you earlier with track mattes.

Show transcript

This video is part of

Image for After Effects Apprentice 05: Creating Transparency
After Effects Apprentice 05: Creating Transparency

38 video lessons · 12861 viewers

Chris Meyer and Trish Meyer
Author

 
Expand all | Collapse all
  1. 3m 17s
    1. Overview
      1m 17s
    2. Using the exercise files
      2m 0s
  2. 28m 53s
    1. Creating basic mask shapes
      5m 7s
    2. Using advanced parametric shapes
      3m 35s
    3. Basic mask shape editing
      4m 35s
    4. Masking in the Layer panel
      1m 55s
    5. Working with mask parameters
      4m 0s
    6. Animating masks
      5m 52s
    7. Creating vignettes
      3m 49s
  3. 25m 56s
    1. Masking with the Pen tool
      6m 44s
    2. Editing a mask path
      6m 19s
    3. Using RotoBezier masks
      4m 32s
    4. Targeting masks for animation
      3m 13s
    5. Setting the first vertex point
      5m 8s
  4. 19m 7s
    1. The basics of variable-mask feathering
      7m 33s
    2. Exploring variable-mask feathering options
      5m 56s
    3. Exploring visual effects applications
      5m 38s
  5. 7m 55s
    1. Exploring mask modes
      3m 58s
    2. Fading mask opacity
      3m 57s
  6. 11m 48s
    1. Using targeted treatments
      2m 35s
    2. Filling mask shapes
      3m 8s
    3. Following mask paths
      6m 5s
  7. 13m 31s
    1. Using alpha mattes
      3m 48s
    2. Grouping track matte pairs
      3m 40s
    3. Working with luma mattes
      3m 52s
    4. Animating mattes
      2m 11s
  8. 10m 0s
    1. Using Stencil Luma
      3m 5s
    2. Using Stencil Alpha
      2m 5s
    3. Using effects with stencils
      2m 20s
    4. Stacking stencils
      2m 30s
  9. 8m 23s
    1. Quizzler challenges
      1m 18s
    2. Quizzler solution one: One word at a time
      3m 53s
    3. Quizzler solution two: Stroke drawing direction
      3m 12s
  10. 11m 18s
    1. Idea corner one: More masks and effects
      2m 50s
    2. Idea corner two: Transition effects
      3m 44s
    3. Idea corner three: Sequenced layers as mattes
      4m 44s
  11. 16m 29s
    1. Understanding track matte rendering order
      5m 48s
    2. Exploring mask interpolation
      10m 41s

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.

Join now Already a member? Log in

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 After Effects Apprentice 05: Creating 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 preferences from 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.