Tutorial: Page (1) of 2 - 06/18/05 Email this story to a friend. email article Print this page (Article printing at MyDmn.com).print page facebook

Simple Track Mattes

Making mattes with layers in After Effects By Ko Maruyama
Often I've seen a question that can be easily solved with the implementation of a track matte.  Often it isn't the creative limitations of the user, it's just that people don't know it exists.  Although it's been featured in several tutorials in the AE Channels here on DMN, a simple review might clarify its use.

In Photoshop, you have the ability to create layer masks which create masks based on luminance for the still image on that layer.  In After Effects, the layers can contain animation.  Moreover, the layers may have properties which animate as well.  Because you may want your fill layer may animate in a manner separate from your mask layer, it's important to be able to keep these layers separate (rather than using a mask to simply cut out the fill).

There are a few things you need to know about Track Mattes:

The Track Matte option is found in the Switches/Modes column of the timeline.  

Track Mattes work in pairs.  A track matte option won't be visible if you only have one layer in your composition.  It relies on one layer being the fill and another being a matte.   The top layer in the pair is the matte.  The bottom layer in the pair is the fill.

Track Mattes work on two separate image principles.  Either based on Alpha Channel or based on luminance of the pixels within the matte layer.  You can opt to use the inverted data of these two options by choosing one of the companion pull-down selections. (Of course you can turn if off by selecting "None")

Alpha Channel Track Matte

Using an alpha matte in Track Matte mode allows the bottom layer (the fill) to use the alpha channel of the layer above it.  The alpha channel can be interpreted from the transparency value of an imported still image, an embedded channel in a QuickTime movie, or even a mask created on the top layer made to create an alpha.

In this example, I have a merged Photoshop document, yellow with blue dots. (click for larger version to download)

Import the pattern into After Effects, and place the image in a new composition (320 x 240 px).

Next, create a white solid and make a new mask shape in the outline of a star.

Now that you have a layer above the dots image, you will also have the option to select a Track Matte option.  Using the pull-down menu, select the Alpha Matte option.  Note: After Effects has automatically made your matte layer invisible by turning the eyeball off in the visibility column. Now the top layer cuts out the bottom layer.

Next, animate the star layer's rotation value.  Animate the dots.psd position.  Notice that the two animations exist separately, because they're on two different layers.

Page: 1 2 Next Page

Related Keywords:After Effects, Adobe, Track Matte, Masks, Luma Matte, Alpha Matte

To Comment on This Article, Click HERE

Most Recent Reader Comments:
  • Re: Simple Track Mattes by Ko at Feb. 09, 2007 5:45 pm gmt (Rec'd 2)
  • Re: Simple Track Mattes by john3 at May 30, 2006 11:50 pm gmt (Rec'd 2)
  • Simple Track Mattes by DMN Editorial at Jun. 27, 2005 5:58 pm gmt (Rec'd 2)

    Click Here To Read All Posts
    Must be Registered to Respond (Free Registration!!!, CLICK HERE)
  • [ServletException in:/common/ads/links.jsp] The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application'

    Our Privacy Policy --- @ Copyright, 2015 Digital Media Online, All Rights Reserved