Hey, everyone! I got a quick lesson on how to create the glitch effect, which you might have seen in cyberpunk movies like Ghost in the Shell.
Sure, the decision to cast Scarlet Johansson as Major Kusanagi was a bit iffy but we can still appreciate the movie's great visual effects, right?
Here we go, friends.
The first thing you will need to do is to import your logo and glitched-out stock footage. Nothing too hard.
If you’d like to use the same assets as this lesson, you can download the velociraptor vector image through Pixabay and the stock footage through Shutterstock.
Import both the logo and the stock footage into Adobe After Effects, and drag them both onto the timeline.
You will then want to create a new Adjustment Layer by clicking Layer > New > Adjustment Layer in the top menu bar. A new layer will appear in your timeline, which will be labelled "Distort adjustment layer 1" for this lesson.
Highlight "Distort adjustment layer 1" and add the Displacement Map effect by clicking Effect > Distort > Displacement Map in the top menu bar.
When you preview your animation, it should look something like this.
Duplicate "Distort adjustment layer 1" at least two times. Resize those layers to different lengths and place them at different points in your timeline, as shown below.
3. CREATE A COLOR SPLIT EFFECT
The velociraptor vector image now has a wiggly effect, but what if we want to distort its colors?
Add the Levels (Individual Controls) effect to each of those layers. You then want to go into the Effects Control panel for each of these layers and adjust the Red, Green and Blue Output White options accordingly.
For example, to make the "Green dinosaur" completely green, change the Red and Blue Output White options to 0.
You then want to create a Null Object, which will be labelled "Color Split" for this lesson. Highlight it in the timeline and create a slider for it by clicking Effect > Expression Controls > Slider Control.
Lock the Effects Control for this layer by clicking on the lock icon at the top of that panel, as shown below. This will allow you to see the Effects Control for your "Color Split" layer even if you select another layer.
Hold the Alt key and click on the stopwatch icon next to the Position option. This will bring up an Expression Control entry box, where you can type in some code.
It looks a little intimidating, but it'll be worth it. Trust me.
The code in your Expression Control should now look something like this.
It should look something like this now.
It looks good, but there's even more you can do make it look glitchy.
Create another Adjustment Layer and label it "Glitch 1" (at this point, I'm running out of things to call these different layers). Highlight it and select the Bad TV 3 - weak effect.
Selecting this option will give that layer four different effects, including Wave Warp, Color Balance (HLS), Noise and Venetian Blinds. Play around with these different options to create the glitchy effect you like.
Use that tool to draw a Mask, as shown in the image above. Only the contents within the Mask you drew over the adjustment layer will be shown.
Duplicate "Glitch 1" a few times. Reshape the Mask for each of those layers to be at different angles.
Resize the layers to different lengths and position them at random times throughout the timeline, much like what we did before. Once you're done, your composition should look something like this.