Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using shadow catchers (new in CS6)

From: After Effects Apprentice 12: Tracking and Keying

Video: Using shadow catchers (new in CS6)

I want this text to integrate better with this scene. And one way to do that would be to have it cast shadows on the face of the building behind it. To do that, I need to have a layer attracts the face of this building that receives shadows from the text. So I'm going to select the 3D Camera Tracker effect apply it to my underlying footage, lasso together some more points here, average them together to create myself a good Track Point, make some more up there, move my target roughly where I need the Shadow Catcher to be centered -- the sun seems to be coming down at this angle - I could hold down Opt on Mac, Alt on Windows and resize it a bit, but I'm going to be doing a lot more precise sizing later on once I've created the Shadow Catcher.

Using shadow catchers (new in CS6)

I want this text to integrate better with this scene. And one way to do that would be to have it cast shadows on the face of the building behind it. To do that, I need to have a layer attracts the face of this building that receives shadows from the text. So I'm going to select the 3D Camera Tracker effect apply it to my underlying footage, lasso together some more points here, average them together to create myself a good Track Point, make some more up there, move my target roughly where I need the Shadow Catcher to be centered -- the sun seems to be coming down at this angle - I could hold down Opt on Mac, Alt on Windows and resize it a bit, but I'm going to be doing a lot more precise sizing later on once I've created the Shadow Catcher.

Now that I have my target in place, I right-click and choose Create Shadow Catcher and Light. This means two layers will be created; one is my light from my scene and the other is this layer called Shadow Catcher. And indeed, you can now see a shadow appear in the scene. After Effects has done some work for me, in making sure it sets the parameters for my text Shadow Catcher and Light for all this to work. And I'll type AA to reveal 3D parameters. After Effects has already set Casts Shadows to be on.

And when the 3D Camera Tracker created my text, it also set Casts Shadows to be on. Normally 3D Layers default to cast shadows being turned off because that takes more rendering time. But the 3D Camera Tracker anticipates I may be creating a shadow catcher later on. So when it created a text layer, it turned the switch on ahead of time for me. Finally, the Shadow Catcher itself takes advantage of a really cool material option. Not only can you decide when or not to accept lights, you can decide when not to accept shadows.

And as of After Effects CS6 they added a new option. Before shadows used to be off or on, and before when you had Shadows on, you had to create a white Shadow Catcher, you had to turn off Accept Lights, you had to use a Blending Mode to blend the shadow in. Now After Effects has added a nice little parameter called Only, where the only thing that renders for that layer is the shadow it receives. Very nice touch. Control that up for now. I do have the light in my scene but my shadows aren't falling exactly the way that I want. So there's a couple of tweaks I need to do.

I'm going to select the Shadow Catcher Layer, type "R," zero out its Orientation, and then type "S" to get it to Scale. I need to scale and position the Shadow Catcher to only to be on the face of this building and not overlap this other building because any shadows that would fall on this building would not be the same as on the main building behind. I'm actually going to turn off the Constrain Proportion's lock so I can scale these independently and make these shadows just the size that I want. That's roughly the width that I want.

I'll use the Axis arrow, constrain to X and move it over. So it just carefully lines up between the edges of that building and the edge of this building. Double-check that over time, yeah, that'll be fine. And I don't need to worry about the Y dimension quite as much just making sure that it's high and low enough to catch all the shadow I might want to cast. Now the other thing I noticed is that my Shadow angle isn't quite right. This building is casting a shadow down and outward in this building but my shadow is currently going in the other direction.

Well, let's just switch to 4 Views here quickly. I'm going to hold the Spacebar to pan down so I can see my shadows, look at my top view make sure I can see all my layers, C for the Camera tool, right-click and drag just to pan back a little bit. I see that my light is indeed in the wrong place. It's off to the right. I need it off to the left. So I'll press V for the Selection tool and drag my light over until it's cast slightly to the right side just like the other shadows in the scene.

Maybe there, pick my front view, look at all my layers again, and move the light up. The lights below the building, in this case the sun is slightly above the building. I'm looking at these other buildings behind to see roughly how my shadow should be cast. That looks a bit better, attracts a little bit more nicely. I think I'm going to cheat my light a little bit more to the right though because I do want to illuminate the right side of my building slightly as well.

I want that shadow to wrap around a little bit just for fun. Okay, that looks better. Looks like my Shadow Catcher could come out very slightly taking in this entire edge, and finally my shadow is again a bit on the dark side. So I'll select my Light, type AA, and reduce its Shadow Darkness slightly so it's not an inky black shadow but it's something that matches the other building here a bit more closely. Somewhere around there, it looks nice. Okay, let's go back to 1 View. I'm going to press Shift and forward slash (Shift + /) to re-center my view make sure I'm doing everything at 100% so that it renders nice and crisp, and RAM preview.

Now that is kind of fun. I think I'm going to move my text just a little bit though. Select my Text, pull further away from the building and you'll see that the Shadow Perspective changes. Maybe drag it a little bit just to reduce chances as it collides with the other building like around there. Now you notice that my poster on the side here has gone dark. And the reason is, is that it reacts to the 3D Lights in the scene and they're kind of glancing office, they're not really fully illuminating it. I could add an Ambient Light or a Fill Light, but even easier would be to select my Poster Layer, type AA, and set it not to accept lights, just go ahead and keep its original color.

I'll copy that parameter and paste it on my copy to the poster below. So I have a nice shadow on the front of the building. If I wanted the shadow to wrap around the side of the building, I just need to create another Shadow Catcher for this side. And I'll do that quickly. Take my Camera Tracker, take my Track Points back. Lasso a bunch of points to average together to get that face, right-click, Create Shadow Catcher. Select it. Type "R". Remove its Orientation.

"S" turn off the Constraint Proportions lock. By the way, Scaling of your Shadow Catcher Layer does not affect your render quality. Well, good, that sizes up pretty well there. But I'm not really seeing much of a shadow so I think my light needs some repositioning. I'll go back to 4 Views, pick up my light and pull around the edge a little bit here so that the end falls across that side of the building. Go back to 1 View. Not sure I like that elongated end but it does help sell the scene a little bit better that the shadow is integrated into that scene.

Reduce my Shadow Darkness a little bit and maybe increase the intensity of the light to better illuminate my text. Now I am noticing one other problem I need to troubleshoot because I am still seeing some effect of shadows here on my poster. When you see that, you've got something going on so just a poster casting shadows onto the building. In other words, the poster is not at the same position in space as your Shadow Catcher is. And that can happen when you use different sets of data points to create new layers using the 3D Camera Tracker.

I'm going to look at the Shadow Catcher, press P for its Position, and I see it's at around 5823Z, and I'm going to look at my Null that I created earlier and see that it's actually a little bit offset in space at 5716. But when I created that Null I was really careful to select four points far apart and a bunch of points in the middle. When I created the Shadow Catcher I was considerably sloppier and just grabbed a handful of points. The Null probably has a more accurate track and more accurate position. So I'm going to take 5716, enter it for the Z position, the depth in this world, and now the Shadow Catcher and the Poster are on the same plain, I don't have any problem with ghosted shadows appearing in my scene.

Show transcript

This video is part of

Image for After Effects Apprentice 12: Tracking and Keying
After Effects Apprentice 12: Tracking and Keying

39 video lessons · 14781 viewers

Chris Meyer and Trish Meyer
Author

 
Expand all | Collapse all
  1. 9m 2s
    1. Welcome
      2m 38s
    2. The Tracker panel
      4m 24s
    3. Using the exercise files
      2m 0s
  2. 13m 25s
    1. Warp Stabilizer basics
      5m 59s
    2. Warp Stabilizer advanced parameters
      7m 26s
  3. 30m 6s
    1. Setting up a stabilization
      2m 57s
    2. Track points explained
      5m 48s
    3. Performing a track
      5m 11s
    4. Applying a stabilization
      2m 42s
    5. Cleaning up the results of a stabilization
      3m 0s
    6. Performing a motion track
      5m 57s
    7. Applying the results
      4m 31s
  4. 13m 48s
    1. The Radio Waves effect
      4m 16s
    2. Tracking the mountain
      5m 31s
    3. Compositing the effect
      4m 1s
  5. 24m 28s
    1. Perspective tracking overview
      2m 40s
    2. Tracking to a corner pin
      7m 1s
    3. Improving the composite
      5m 39s
    4. Tracking with mocha-AE
      9m 8s
  6. 31m 49s
    1. Tracking in 3D (new in CS6)
      4m 31s
    2. Creating 3D objects (new in CS6)
      5m 12s
    3. Hanging a poster (new in CS6)
      8m 8s
    4. Adding text (new in CS6)
      5m 33s
    5. Using shadow catchers (new in CS6)
      8m 25s
  7. 16m 46s
    1. Tracking dots
      5m 43s
    2. Dealing with obscuration
      5m 12s
    3. Cleaning up the stabilization
      5m 51s
  8. 12m 40s
    1. Basic keying
      7m 20s
    2. Refining the key
      5m 20s
  9. 13m 32s
    1. Quizzler challenges
      3m 35s
    2. Quizzler #1 solution: Stabilization plus masking
      2m 58s
    3. Quizzler #2 solution: Stabilization plus tracking
      2m 50s
    4. Quizzler #3 solution: Copying a camera's motion
      4m 9s
  10. 12m 28s
    1. Tracking for multiple effect points
      4m 44s
    2. Converting to ray-traced 3D (new in CS6)
      7m 44s
  11. 23m 59s
    1. Legacy tracker advice
      8m 14s
    2. Tracking interlaced sources
      5m 59s
    3. Using garbage masks for keying
      4m 51s
    4. Using the Rolling Shutter Repair feature (new in CS6)
      4m 55s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed After Effects Apprentice 12: Tracking and Keying.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.