Identify the layer you want to use as the Track Matte layer.
You set up a Track Matte when you want one layer to show through holes defined by another layer. A Track Matte can be a still image, a video, a graphic, text, or a shape.
For example, you can use a text layer as a Track Matte for a video layer to allow the video to only show through the shapes defined by the text characters. The underlying layer (the fill layer) gets its transparency values from the values of certain channels in the Track Matte layer—either its alpha channel or the luminance of its pixels.
If you animate the position or other transformations of the Track Matte layer, it’s called a traveling matte.
Better quality visual of a Track Matte yet to come (with text explaining how it works)
A. Track Matte layer: a solid with a rectangular mask, set to Luma Matte. The mask is animated to travel across the screen. B. Fill layer: a solid with a pattern effect. C. Result: the pattern is seen in the shape of the Track Matte. This is then composited over an additional image layer.
If you want to animate the Track Matte and fill layers using identical settings, consider precomposing them.
This feature is currently in beta
Beta features are now available for development, testing, and feedback. For help, visit beta support community.
Any layer in your composition, no matter where it sits in the layer stack, can be used as a Track Matte source for any other layer. You can even have multiple layers all reference a single layer for their matte. You can also use the matte layer’s Alpha or Luma channels and invert them if necessary.
Two toggle switches get enabled when a layer is selected as a Track Matte. You can use these switches to define transparency for the Track Matte:
Alpha Matte
Opaque when alpha channel pixel value is 100%.
Luma Matte
Opaque when the luminance value of a pixel is 100%.
Alpha Inverted Matte
Opaque when alpha channel pixel value is 0%.
Luma Inverted Matte
Opaque when the luminance value of a pixel is 0%.
Although the video is turned off for the matte layer, you can select the layer to reposition, scale, or rotate it. Select the layer in the Timeline panel, and then drag the center (indicated by a circle with an X) of the layer in the Composition panel. If your composition needs the video, you can also turn it back on.
Using a Track Matte is similar to using the Preserve Underlying Transparency option, which causes a layer to get its transparency from the transparency of the composite of the layers below it in the layer stacking order. (See Preserve underlying transparency during compositing.)
The Preserve Underlying Transparency option causes a layer to get its transparency from the transparency of the composite of the layers below it in the layer stacking order. In other words, the opaque areas of the layer with this option selected appear only when positioned over opaque areas in underlying layers. This option is useful for creating results such as glints or light reflecting off a polished surface.
The behavior of a layer with the Preserve Underlying Transparency option selected is similar to the behavior of a clipping mask in Adobe Photoshop.
You can use the Mocha AE plug-in from Boris FX for Planar Tracking and Masking. It uses a planar tracking workflow to drive shapes for masking. Mocha AE Spline shapes also include variable Per-Point Edge Feathering for precise control on edge blurring.
In previous versions of Mocha AE, the mask conversion process requires a copy/paste from Mocha AE to After Effects using the clipboard and the Mocha Shape plug-in. The Mocha AE plug-in applies or converts Mocha shapes to After Effects in the current workflow.
For more information, see Planar Tracking with Mocha AE.
See the Boris FX video tutorial section for video tutorials covering Mocha AE masking for After Effects.
If you wish to ask questions and participate in community discussions around this feature, visit our After Effects Beta Community.
Sign in to your account