<p>Create an adjustment layer above the base image and apply one of the effects to it (you will have to do this whole process several times with one effect per adjustment layer).
Add the colour mask layer above the adjustment layer and use a key effect (<strong>Effects>Keying><em>whatever</em>…</strong>) to make the relevant colour for the effect transparent.
Set the track matte for the adjustment layer to <strong>"Alpha Inverted Matte <em>the colour mask layer</em>"</strong>.</p>

<p><a href="https://i.sstatic.net/cjB6Y.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cjB6Y.png" alt="enter image description here"></a></p>

<p>Using an alpha inverted track matte will make the adjustment layer opaque only where the Alpha Matte is transparent, so the effect will only be visible in the areas defined by the relevant colour. Note that when you apply the track matte the layer that is acting as a matte is made invisible (eye icon switched off).</p>

CC BY-SA 3.0
2016-05-04T05:18:22.750Z
2016-05-04T05:18:22.750Z
stib
<p>I'm creating animations like the hearthstone golden cards,and I'm tired of masking everything bit by bit.
I know that the hearthstone team used masks (with colors) in order to make the animations,they used a map of colors that was telling the after effects where to apply the effects and where to ignore the effects. Exemples:</p>

<p>Image 1:</p>

<p><a href="https://i.sstatic.net/DNZQ8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/DNZQ8.png" alt="image1"></a></p>

<p>Mask 1:</p>

<p><a href="https://i.sstatic.net/Mw4j8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Mw4j8.png" alt="mask1"></a></p>

<p>In this case,the blue area had a particles effect,the yellow/green had a glow and the redish was some rotating light effects.</p>

<p>In a nutshell:
How can I tell after effects to make some effects visible only in a certain spot using a color map?</p>

<animation>
Is possible to use this "map" as a mask? (After Effects)
Nokdef
# Is possible to use this "map" as a mask? (After Effects)

(Asked by: username_0 on 2016-05-03)

I'm creating animations like the hearthstone golden cards,and I'm tired of masking everything bit by bit.
I know that the hearthstone team used masks (with colors) in order to make the animations,they used a map of colors that was telling the after effects where to apply the effects and where to ignore the effects. Exemples:

Image 1:

[![image1](https://i.sstatic.net/DNZQ8.png)](https://i.sstatic.net/DNZQ8.png)

Mask 1:

[![mask1](https://i.sstatic.net/Mw4j8.png)](https://i.sstatic.net/Mw4j8.png)

In this case,the blue area had a particles effect,the yellow/green had a glow and the redish was some rotating light effects.

In a nutshell:
How can I tell after effects to make some effects visible only in a certain spot using a color map?

**Tags:** animation


---

## 1 answers

### Answer by username_1 on 2016-05-04. Score: 4 | Accepted answer

Create an adjustment layer above the base image and apply one of the effects to it (you will have to do this whole process several times with one effect per adjustment layer).
Add the colour mask layer above the adjustment layer and use a key effect (**Effects>Keying>*whatever*…**) to make the relevant colour for the effect transparent.
Set the track matte for the adjustment layer to **"Alpha Inverted Matte *the colour mask layer*"**.

[![enter image description here](https://i.sstatic.net/cjB6Y.png)](https://i.sstatic.net/cjB6Y.png)

Using an alpha inverted track matte will make the adjustment layer opaque only where the Alpha Matte is transparent, so the effect will only be visible in the areas defined by the relevant colour. Note that when you apply the track matte the layer that is acting as a matte is made invisible (eye icon switched off).


---

