After Effects Textures and Mattes - Animation Tutorial

Motion graphics
5 followers
1 Video View·Apr 30, 2026
In this after effects tutorial, I break down how I created this animation from start to finish and how I achieved all the effects by stacking mattes and using textures with minimal animation and keyframes. This tutorial is suitable for beginners - intermediate users. Please leave a comment if you'd like me to explain anything I skimmed over. …
Hi I'm Ben Marriott. I make weekly motion design tutorials and this week I'm going to talk through
how I used mattes and textures to create all the effects in that animation. Let's begin.
In this video I'm going to show you how using some simple effects and combining them with
looping textures and mattes in different ways can lead to some really cool results. Now this
piece was made with three layers of composition. This main layer here which combines the face and
the helmet's comp. The helmet's comp which contains this section which is pretty much the head the
sparkles and the surrounding helmet area. Now this head comp is where we've got the majority of our
good animation stuff happening in here so let's get stuck into this first. So I'm using the preserve
underlying transparency which is this column here to restrict everything to this pill shape that
we've got going on in the middle which is the monkey's head. So this works a lot like a clipping
mask in illustrator. Now the very bottom I've got this head shape layer and I'm going to solo that
by clicking here so we can only see that layer and so I can better explain what's going on.
And above that we have two visible layers we have wave one and we have wave one shadow. Now if we
turn off our effect by clicking here we can see that wave one is just simply a rectangle and all
this movement is happening by using the wave warp effects here. If I switch off wave warp two you can
see that the first wave warp just gives this you know slight wave sort of moving in a position
sort of effect and wave two is applied to just give a little more distortion to that wave and
let it seem a little more natural and more chaotic. Jake Bartlett has a fantastic tutorial where he
goes in-depth on how to really push these wave warp effects to create awesome smoke and hair
and all sorts of things. And most importantly I've got this preserve underlying transparency
selected which you'll see in this column here and I ignored this for my first three years of
using After Effects. And that means that this layer only appears over already visible areas
so in our case it's our head layer so it's kind of like an alpha matte for every layer that's
underneath it and if I turn it on and off you maybe get a clear idea of what's happening.
We've also got this wave shadow layer down here which is an exact duplicate of this layer above
and we've just added a drop shadow effect and changed the blending mode to dissolve. If we
switch it back to normal this is what it looks like we've got a nice smooth gradual gradient
but if we change the blending mode back to dissolve we get this nice gritty grainy effect
similar to what I used in my grain shading tutorial. Now I've also got a bunch of shard layers
here so let's unshard those and reveal them all. Now let's select the visibility of wave two and
wave two shadow by soloing them here which are pretty much the same as this wave one and wave
one shadow here except we've got some different colors applied with some fill effects. This wavy
bacon layer here is a video texture of these wavy lines looping in a sequence of four images of
similar wavy lines and I've used a tint effect here to map the black and white colors to these
blue and pink colors that we've got in our color palette. And above that we've got a wave two matte
which is essentially a duplicate of wave two and I'm using that as an alpha matte so this wavy
bacon layer is using the preserve underlaying transparencies so it doesn't appear outside of the
pill shape and we've got an alpha matte which means it's only restricted to the shape of that
wave layer two layer. Now you could achieve this effect with a combination of alpha mattes, set
mattes and pre-comping but I find this method keeps it just a little more tidy and intuitive
to adjust. And above that we've got another three layers of waves and textures that just fill up our
monkey's head layer. Now above that we have these drippy comb layers so let's add those and see
what those look like. So inside this drippy one comb here we've got this hatchy texture layer
that's happening here and at the bottom here I'm using it as a luma matte inferted of this drip two
movie that we've got. So here this is just this dripping effect and I made this by drawing it
frame by frame on my iPad using the app rough animator which I think at time of recording
is the best animation app on on the iPad. And after this drip animation finishes I've got another copy
of this hatchy pulse layer with no alpha matte selected so that just takes up the whole screen.
Now back in our monkey head layer we can see that we've got this drippy one comp and we're using a
luma matte for this composition called drip two matte. And inside this comp we can see that we've
got that same drip two movie file of this dripping animation and I've just got it started a few
seconds into the composition so it's a little offset from our original drippy one composition
and that gives the appearance of a strip of that comp being visible and being erased by the same
dripping animation coming up behind it. Now that may make zero sense as I'm realizing I'm trying
to explain it so let me try and show what's going on. Without this track matte we have this hatchy
texture just rising up using this drip animation and above that we have the drip two matte so if
we make that visible and scrub through we can see that that's the same drip animation coming upwards
but just a little bit behind so when we select luma matte we can see that it's slightly just
following that dripping animation and removing it as it goes. And we've got a frame where we
can see the start and the end of that drip animation. If we move this drip matte forward
and backwards you can see it reveals a bit more and a bit less so if you want it really thin you
can leave it at this length and if you want that sort of strip to be a lot thicker pull this back
a little. And then we've got the same thing happening with duplicate comps just above and
offset a few frames and then slightly colored differently so we get sort of two sort of colors
and waves of this matting dripping effect and that repeats every few seconds with these other layers
here and I've got slightly different textures inside each of those and at the very top of this
comp we have this head highlight and head shadow layer and the head shadow layer is just a blue
shape layer with a mask set to subtract and a feather set to 100 pixels and also the blending
mode is dissolve so if we go to normal we can just see that's you know just a feathered mask
that we've got here and set to the dissolve blending mode so we get this nice grain. Now
you could also use a blur effect on the shape layer to get the same results of the feathering
but I prefer a feathered mask to blurring because dinosaurs had feathers and dinosaurs dictate most
of my decisions. And then at the top we've got this head highlight which is essentially the same
thing but just with a lighter blue fill color on the top right here. Now let's navigate up to our
helmet comp above this so I'm going to do that by pressing tab and clicking on this helmet
composition on the left over here and here we've got much fewer layers in this comp at the bottom
we've got this helmet layer which is a what is a pink shape layer just a circle we've got the helmet
shading layer which is that same pink circle duplicated I've added a fill effect of a darker
pink and done the same feathered mask and dissolve blending mode as well and then we've got these
sparkle layers in red here which is just this star shape and then I've got three times scaling up from
1 to 100 and then we've got our head comp here and we've got preserve underlaying transparency
so it only takes up the area defined by the alpha channel of this circle layer here again here you
could use an alpha matte or a luma matte to achieve the same effect. Now back in our main
comp we've just got a few more layers we've got the addition of our face composition here
and if we go inside we can see we've just got some shape layers making up this face
the mouth has a bit of a subtle animation using the path property here I think it just
just sort of changes shape ever so slightly and we've also got these eyes scaling up as well
and we've got the blue one scaling up and then the pink one scaling up a few frames after
and then repeating them both multiple multiple times so they'll get this loop of the eyes
expanding like consistently infinitely from the center. Back in our main comp here we've got this
which uses our same masking dissolve feather trick that we've done before and we've got two
adjustments layers here we've just got the post-dry time effect with the frame rate set to 12.5 frames
per second which just gives it a bit more of a traditional hand animated look as if it was
animated on twos so there's not as many frames and it doesn't look as super smooth as you get
with the 25, 30, 60 frames per second animation and I'll use 12.5 rather than 12 because 12.5
is the standard in Australia but you can use 12 and it will pretty much have the same effect
and then we've got an adjustment layer up here with our favorite turbulent displace effect with
the size down to two pixels and that just gives a little bit of extra roughness around the edges
here if I zoom in and flick it on and off you can see it goes from smooth to just a little bit
rougher to give a bit of extra roughness to the edge of everything and finally and above everything
we've got this looping texture here which just add this sort of white speckle sort of dot grain
to everything and if we look inside that's just four instances of this texture rotating in changing
position. Now hopefully you can see how repeating some simple effects and then using mattes in some
interesting ways can create some really cool effects and drive a whole piece. Now as I said
the project is available to download down in the description. I've removed some of these textures
because I've bought them from a different source and I can't share those but everything else is
in there for you to look around and dissect. If you use anything that you've learned in this
tutorial please upload it and tag me at ben underscore married underscore on instagram so I
can share it in my stories. I can't wait to see what you make. Please let me know down in the
comments what else you'd like to see from this channel. Don't forget to subscribe, hit that bell
icon, like, comment, share and like what you've already liked. Like it again. Well like it three
times. I've got to do it an odd number. I'll see you next week.
