(Page 1 of 2 pages for this article  1 2 >)

Tuesday, November 05, 2002

Filed under: LightingMotion GraphicsVisual Effects

Gobos and Gels

Chris and Trish Meyer | 11/05

To project interesting lights, you have to cast interesting shadows.

Finishing our tour of 3D lighting in After Effects, we’ll discuss gobos and gels. For those new to lighting, a gobo is an opaque object that blocks off some of the rays cast by a light, either to more carefully control where they fall, or to give the impression of light streaming through an object such as a window blind or the leaves of a tree. A gel is a translucent object placed in front of a light, which colorizes the rays cast by it. It is generally a solid color, but can be a graphic. Here are a few different approaches to replicating these inside After Effects.

The most straightforward way to create a gobo in After Effects is to place a 3D layer in front of a light. The alpha channel of the layer determines where the light passes through, and where the light is blocked. This effect is easiest to control when the Light Type of Spot – this type allows you to reduce the Angle of the light rays being cast so they don’t leak around the edges of the gobo layer which is supposed to be blocking them. To soften the pattern cast by a gobo, don’t use the light’s Cone Feather parameter; instead, soften the gobo pattern itself, or use the light’s Shadow Diffusion parameter.

Layers that already have alpha channels – such as stock footage of objects with their alphas already cut out, or geometric shapes created in a program such as Adobe Illustrator – will block light where the object or shape is present, resulting in a shadow the same shape as your object. To cast light in the same pattern as your object or shape, you will need to invert the layer’s alpha channel. To do this, go into the File > Interpret Footage > Main dialog for the layer’s Footage item, and enable the Invert Alpha option. If you want to soften edges of the gobo pattern, apply a blur to the gobo layer.

You can also create your own patterns inside After Effects by creating a Solid, and then using masks or paint strokes. To soften the edges of the resulting pattern, increase the Mask Feather or use a feathered brush (respectively). In all of these cases, the colors present in the layer don’t matter; only the alpha channel does.

If you have a grayscale image that you want to convert into a gobo, place the image into the file’s the alpha channel using a paint program such as Adobe Photoshop, or use a Track Matte in a precomp to luma matte the image onto a Solid. Other tricks such as using the Set Matte or Shift Channels effects are also possible, but keep in mind that the trickier you get, the harder it is to remember what you did and why when you come back to a project later.

We used an image of leaves (left) as a gobo. When used as a gobo to block one of the lights being projected onto another layer (below left), the result was the leaf pattern being cast across our footage (below). Leaves from Digital Vision’s Quiet Form CD; lion footage courtesy of Harry Marks.

Obviously, the gobo must be placed between the light and the layers receiving the shadows cast by it, as shown below. This means you have two objects to manage as you begin to move layers around. We find it easier to use Parenting to attach the gobo to the light – that way, moving the light will then move the gobo with it. Plan ahead by first setting the gobo layer, the light’s Position, and the light’s Point of Interest to the same X and Y Position values, and then Parent the gobo to the light. Once you have done this, you can edit just the gobo’s Z Position value to set how far away the gobo is from the light, no matter where you move the light to later. This distance in turn controls how large of a pattern is cast.

You may be surprised to learn that In After Effects (as well as most dedicated 3D programs), layers do not by default block light. To have them block some of your light’s rays, you must enable the Casts Shadows option for both the light and your gobo layer. If you run into a problem where the gobo layer becomes visible in the scene, as of version 5.5 you could set a layer’s Cast Shadows option to Only, which means you will only see the light pattern – not the layer.

next page: creating “gel” effects

(Page 1 of 2 pages for this article  1 2 >)

               



You must be registered to comment. This is an effort to reduce spam. Please REGISTER HERE.

Name:

Email:

Location:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below:




After Effects Apprentice Free Video: Rendering a 4:3 Center Cut Movie from a 16:9 Composition
After Effects Apprentice Free Video: Using Parenting to Animate Layers as a Unit
After Effects Apprentice Free Video: Working with Nested 3D Compositions
After Effects Apprentice Free Video: Copying Paths from Illustrator to After Effects
After Effects CS6 Tutorial: Exporting 3D Camera Tracker Data to Cinema 4D
After Effects CS6 Tutorial: Targeting Properties in the new Ray-Traced 3D Engine
After Effects CS6 (P)Review
After Effects Apprentice Free Video: Exploring Shape Effects
After Effects Apprentice Free Video: Drawing Parametric Shapes
After Effects Apprentice Free Video: The Puppet Starch Tool
After Effects Apprentice Free Video: Eraser Tool Modes
After Effects Apprentice Free Video: Tracking with mochaAE
After Effects Apprentice Free Video: Performing a Motion Track
After Effects Apprentice Free Video: Creating 3D Objects using Adobe Repoussé
After Effects Apprentice Free Video: Understanding Axis Modes
Using After Effects as an Advanced Titler for Premiere Pro
After Effects Apprentice Free Video: Creating an Orbit Camera Rig
CMG Hidden Gems: Chapter 45 – What’s Your Preference?
CMG Hidden Gems: Chapter 44 – Prerendering and Proxies
CMG Hidden Gems: Chapter 43 – Advanced Rendering
CMG Hidden Gems: Chapter 42 – Render Queue
CMG Hidden Gems: Chapter 41 – Video Issues
CMG Hidden Gems: Chapter 40B – 3D Channel Effects
CMG Hidden Gems: Chapter 40 – Integrating with 3D Applications
CMG Hidden Gems: Chapter 39 – Integration 101
After Effects Apprentice Free Video: Multiple Playback Speeds
CMG Hidden Gems: Chapter 38 – Import and Interpret
CMG Hidden Gems: Chapter 37B and 37C – Expressions and Scripting Bonus Chapters
CMG Hidden Gems: Chapter 37 – Expressions
CMG Hidden Gems: Chapter 36B – Audio Effects







Ooops, we did it again

Art Adams | 07/24

Wherein a small crew on a low budget makes an HVX-200 look vastly better than it ever should.

Recently I wrote of a wildly successful music video shoot I did…

Motion Quick Tip: Importing Illustrator and Photoshop Files

Mark Spencer | 06/09

Working With Fixed Resolution

image

When working with Motion, you’ll often import content that was created elsewhere. For example, Illustrator and Photoshop are two powerful applications for creating and manipulating…

HOW TO: Use a Color Meter

Art Adams | 02/18

Trust them as far as you can throw them

Color meters were never designed to be used to measure light sources with a broken spectrum. How much should we trust them?

Lurking in the Shadows

Chris and Trish Meyer | 10/03

Managing shadows in After Effects requires tweaking both the settings and relative positions of layers and lights.

The second stop in our overview of 3D lighting in After Effects is the subject of shadows. In the Dark Ages (before version 5, when After Effects got 3D), in order to fake the all-important perspective…

To be considered for listing, contact pr (at) provideocoalition (dot) com


Copyright © 2012, HD Expo, LLC a division of Diversified Business Communications. DBA Createasphere

All rights reserved. HD EXPO, High Def EXPO, Createasphere, E-Tech, Entertainment Technology Exposition, 3D Production Workshop, VariCamp, P2 Camp, ColorCamp 101, and Lighting, Filters & Gels for HD are all trademarks of HD Expo, LLC.

Terms of Use  |  Privacy Policy

Check PageRank