Chapter 15: Track Mattes
Track mattes allow you to use one element as a mask for another, creating cutout effects, reveals, and complex compositing. This is a powerful feature for professional-looking video templates.
What Is a Track Matte?
A track matte uses the visual content of one element (the source) to define the visibility of another element (the target). Areas where the source is opaque make the target visible; transparent areas hide it.
Setting Up a Track Matte
- Create the element you want to mask (the target)
- Create the element that will serve as the mask shape (the source)—this can be a shape, image, text, or any element
- Select the target element
- In the Properties panel, find the Track Matte section
- Choose the source element from the dropdown
- Select a matte channel
Matte Channels
The matte channel determines which part of the source element controls visibility:
| Channel | Effect |
|---|---|
| Alpha | Uses the source’s transparency—opaque areas reveal, transparent areas hide |
| Inverted Alpha | Opposite of alpha—transparent areas reveal, opaque areas hide |
| Luminance | Uses the source’s brightness—white reveals, black and transparent areas hide, grey reveals partly (After Effects’ Luma Matte) |
| Inverted Luminance | Opposite of luminance—dark and transparent areas reveal, white hides |
| Red | Uses the red color channel as the mask |
| Green | Uses the green color channel as the mask |
| Blue | Uses the blue color channel as the mask |
| Inverted Red | Inverts the red channel mask |
| Inverted Green | Inverts the green channel mask |
| Inverted Blue | Inverts the blue channel mask |
When to Use Each Channel
- Alpha: Most common. Use a shape or text to cut out a region of an image or video.
- Inverted Alpha: Reveal everything except the mask shape.
- Luminance: Use a black-and-white image or video — a light leak, a paint stroke, a gradient — whose brightness decides how much shows. Brightness is weighted as the eye sees it (green counts most, blue least), so a coloured source works too; a pure red one reveals about 30%.
- Color channels: Use grayscale gradients in specific channels for custom falloff effects.
Common Use Cases
Text Reveal
Show a video or image only inside text characters:
- Add an Image or Video element (target)
- Add a Text element with large bold text (source)
- Set the image’s track matte source to the text element
- Channel: Alpha
- Result: The video/image appears only inside the text letterforms
Shape Mask
Crop content to a circle or custom shape:
- Add your content element (target)
- Add a Circle shape (source)
- Set the content’s track matte to the circle
- Channel: Alpha
- Result: Content appears only inside the circle
Soft-Edged Mask
Fade content out at the edge of a shape instead of cutting it hard:
- Set up a Shape Mask as above
- Select the source shape and set Feather X / Feather Y in its Shape section (see Shape Elements)
- Result: the masked content fades out across the shape’s outline — on the canvas, in the preview and in the rendered video
A mask imported from After Effects with a feather arrives as a feathered matte shape, so it is soft-edged in the editor as it is in the render. Keyframe the feather to sharpen or soften the edge over time.
Gradient Fade
Create a soft edge fade using a gradient:
- Add your content element (target)
- Add a shape with gradient fill (source)
- Set track matte with a color channel
- Result: Content fades following the gradient
Interactivity
Track matte source elements remain fully interactive on the canvas—you can select, move, and resize them. The masking effect is visible in preview and final output.
Tips
- The source element should overlap the target for the mask to take effect
- Animate the source element’s position or size to create animated reveal effects
- Combine with keyframe animation for dynamic mask transitions
- Feather a shape source for a soft edge rather than blurring the target
- Track mattes work with all element types as both source and target
Troubleshooting
Mask Not Visible
- Ensure source and target elements overlap
- Check that the correct matte channel is selected
- Verify the source element has visible content (opacity > 0)
Wrong Area Masked
- Try Inverted Alpha if the mask is backwards
- Check element positioning and z-index
- Verify the correct source element is selected
Performance Issues
- On the canvas and in the preview a mask is redrawn only when the source’s picture changes: once for a still shape or image, once per frame of a video source, and for a shape while its feather or shape animation moves. Moving the source or the masked element just moves the mask, so sliding reveals play smoothly; resizing the source redraws it, keeping the previous mask on screen until the new one is ready.
- A masked element stays hidden for the moment it takes to draw its first mask — for example while an image source is still loading. If the source cannot be drawn at all (an image or video that is missing or will not load), the element shows unmasked.
- Masks are kept once drawn, so scrubbing back, replaying a scene or reopening it reuses them
- Very large or heavily feathered sources take longest to draw; simplify them if a first mask is slow to appear