All Articles After Effects
Shape Layer Tricks in After Effects
Toby Pitman on Wed, September 7th | 0 comments
Shape Layers are one of the most underutilized areas of After Effects, despite there being amazing things you create using them. In this tutorial Toby Pitman outlines 3 incredible Shape Layer tricks.

Put your hands up if you ever use Shape Layers in After Effects! No? Well, you should cause there’s a whole heap of cool stuff you can do with them. The reason that they are so nifty is you're not just limited to the shapes provided by the Shape tools that After Effects provides like circles, squares, stars, etc. You can paste any paths from Illustrator or Photoshop into Shape Layers in AE.

After Effects offers a nice selection of vector-based effects too that are contained inside the Shape Layer. These include things like Pucker and Bloat, Offset Path, Twist, Zig Zag, Rounded Corners and Wiggle Path (an animated version of Illustrator's Roughen Edges). All of them are very common path-based FX that are featured in Illustrator.

One other very handy thing is that you can convert Text Layers into Shape Layers and use these Shape Layer effects to create some nice results. Here are three quick tricks when using this technique. All these FX are created with just one Shape Layer.

Trick 1- Multiple Strokes On Text

Creating Multiple strokes on text in After Effects isn’t as easy as it could be and can require a lot of messing about with duplicating layers, that is until you convert the text into a Shape Layer! Then it’s really easy!!

First create some text.

Trick 1 - create text

Select Layers > Create Shapes from Text to change the text into a Shape Layer.

Create Shapes From Layers

You see that After Effects keeps and hides the original text layer and creates a new shape layer called ‘Stroke Outlines’.

AE creates new layer 'Stroke Outlines'

Shape Layers are like containers. If you open the Shape Layer you’ll see all your individual letter shapes inside a ‘folder’ called 'Contents'. 

All individual shapes are now contained in a new folder

Each letter has its own set of parameters like Path, Stroke, Fill and Transform giving you a lot of control over the look of the text. The only drawback is the text is no longer editable but this is easy to change.

If you select Contents and click the Add button you’ll see a list of things you can add to your Shape Layer, things like vector effects, new shapes, fills, strokes etc. I’m going to add a Group to house all my letters. 

Adding a group to all the letters

I just select all the letters and drop them in the group. I’ve renamed it 'Text Stuff'.

The groups is renamed to 'Text Stuff'

Setting up this type of hierarchy is going to come in handy later for many reasons, one of which is if I need to change the text later, I can just delete the contents of 'Text Stuff' and drop some new converted text shapes into the Group.

Next up I’m going to null the master Fill by selecting the Stroke Outlines layer and clicking the orange ‘Fill’ edit option and making it transparent. Same for the Stroke. This allows me to control the colors within my Shape Layer.

Controlling the colors within the shape

With the Shape Layer selected I’m going to add a fill and stroke effect to the Contents folder.

Add a fill and stroke effect to the Contents folder

It’s handy to know there is a layer order inside the Contents folder that goes from bottom to top (just like Layers) and here the Stroke is placed beneath the Fill and both are effecting Text Stuff. It’s even more handy to know you can nest these Fill and Stroke effects (vector ones too) inside the group and they only effect that group. You could add another group in the same Shape Layer with a whole other bunch of independent fills and effects.

There's a layer order in the Contents folder

All I have to do now is set some colors up in my Fill and Stroke and just duplicate the Stroke effect. This creates a new one underneath the original. Just adjust the width and new color.

Duplicating the stroke effect

Just keep on duplicating till you get a result you like! Easy! There is a technique for making this whole process dynamic using expressions which I’ll cover in another article.

Duplicate it until you get the result you're happy with

I can now animate each letter individually using the letters Transform properties.

Trick 2 - Spooky Text

For this effect I’m going to use a vector effect to create a quick spooky text reveal. I’ve converted and grouped some text in a Shape Layer like before and added a Fill to the group.

The text in a shape layer with an added fill

With the Shape Layer selected I’ll add a Twist effect from the Add menu.

Add a Twist effect from the Add menu

If I set the Twist angle high you can see it distorts each letter from the group (you could do this for each letter by placing the effect inside the letters folder) not as a whole. This would be impossible with a text layer.

Distorting each letter

I’ll blur this by adding a Fast Blur to the layer.

Adding a blur to the layer

Next, add a Glow to the layer.

Add a blur to the layer

Then a Vector Blur to give it a more smokey feel.

Adding a Vector Blur

Then I can just animate the strength of the Twist and Blur effects to zero. Here’s the result.

Trick 3 - 3D Text Effect

This one is quite cool. Set up some text (center aligned) in a group like so. I’ve named this 'Repeat'. 

Setting up text in a group

Duplicate the Repeat group and name it 'Top' and hide it; we’ll come back to it later.

Duplicate the group

With Repeat selected add a Stroke to this group.

Add a stroke to the group

Add a Dash to the Stroke by pressing the plus button. 2px is good.

Add a dash to the stroke

Now with Repeat still selected, add a Repeater to the group.

Add a Repeater

This makes a specified number of copies of the contents of the group. If you set the Scale of the Repeater to 99% you get a faux 3D effect. Set the End Opacity to 0% to make it fade out. The Repeater is very powerful and you can achieve some really nice effects with it.

Set the Repeater to 99% and end opacity to 0%

If you move the Y Anchor Point of the Repeater it affects the up/down direction of the 3D effect, moving the X Anchor Point moves it left/right. Nice! 

Move the X and Y anchor points

Go back and unhide the Top group. With it selected add a Stroke to the group as shown below. This goes back to what I said about each group: being able to have independent effects.

Unhide Top group

Now here’s the cool part! Make the Shape Layer 3D and add a Camera to the comp. 35mm is fine.

Add a 35mm camera to the comp

Option-click (Alt on PC) on the Repeater's Anchor Point stopwatch and create an array by adding square brackets like this [ ] in the expression box.

With the text cursor inside the brackets, pick whip to the X position of the Camera like so:

Pick Whip to X position

Type a comma after the expression and pick whip to the Y position of the Camera like so:

Pick Whip to Y position

You should have this expression:

[thisComp.layer("Camera 1").transform.position[0],thisComp.layer("Camera 1").transform.position[1]]

Now rotate the Camera using the Camera Rotate Tool. The Repeater effect now tracks to the Camera movement in ‘3D’! Cool!

The Repeater tracks to the camera movement in 3D

Add some Blur and Glow to smooth out the effect of the Stroke.

Add blur and glow

Here’s the effect in action.

Not bad for one shape layer!! This is just the tip of the iceberg when it comes to what can be achieved with Shape Layers. Expect some more Shape Layer madness in the future!! 

Download the project files for this MPV Hub tutorial here!

Check out the growing range of After Effects Video Tutorials from here.

Comments (0)

You must be logged in to comment. Login Now

Course Advisor
Don't Know Where To Start?
Ask A Course Advisor
Ask Us!
Copy the link below and paste it into an email, forum, or Facebook to share this with your friends.
Make money when you share our links
Become a Affiliate!
The current affiliate rate is: 50%
Classes Start Next Week!
Live 8-week Online Certification Classes for: