What you're about to see is extremely classified footage recently unearthed from the vaults of the US Department of Defense. Or maybe it's just part of an awesome Shutterstock tutorial on using Keylight for After Effects. (OK, it's the second one.) In this tutorial, you'll learn how to "key out" your green-screen footage, giving you the ability to create any scene you can dream up — like one of a completely realistic-looking UFO beaming up an adorable kitten, for example.
Open your clip in After Effects and you'll be ready to begin.
The first thing you want to do is key out the background. Go to Effect > Keying > Keylight. A lot of the Shutterstock footage collection already has the legwork done for you, with the background keyed out and replaced with green. This makes it even easier for us to take out the background now.
Use the eye dropper to change your Screen Colour to whichever color you would like to key out. I also adjust Screen Pre-blur to try to avoid any sharp unwanted edges.
Go back to Effect > Keying > Keylight and select the Screen Colour of the background for the new clip. As you can see, the background on this one has a subtle gradient, so this doesn't completely key out the background. In this case, you'll need to increase your Screen Grain until the background is entirely keyed out.
We also need to add that infamous Tractor Beam that is going to beam up our poor kitten. For this, I created a new white Solid by going to Layer > New > Solid. Add a mask with the rectangle tool and adjust its shape to look like it's coming out of the spaceship.
Create keyframes for Mask Shape... and adjust the solid for opening and closing.
Make a new composition and call it whatever you like, I prefer to call mine "stage." Put the composition with all your layers onto your stage and adjust the saturation to 0. You can do this by going into Effect > Color Correction > Hue/Saturation.
Since our spaceship looks a little too much like a modern 3D render, we'll add some Noise and Glow effects to make it look more "realistic."
To further push how realistic our scene appears, we should add some shadows. I did this by creating another new Solid and using a radial Ramp: Effect > Generate > Ramp. Create a black-to-white ramp and set the blending mode to Multiply. Adjust the radial gradient to fit under the kitten and add a Gaussian Blur: Effect > Blur & Sharpen > Gaussian Blur.
Repeat the same process to create the shadow for the UFO, but in this case you'll need to animate it coming down and going back up. To do this I simply animated where the End of Ramp is. Create key frames for when the UFO is at its lowest and highest points, and the shadow will grow and shrink accordingly.
And there you have it! You've created your next YouTube hit, kittens, spaceships, and all. Keep an eye out for more advanced Keylight tutorials from Shutterstock in the future!
Clips used in this tutorial:
Like this tutorial? Check out another great After Effects lesson on 3D Texture Mapping: