Mastering Shadows: Paint 3D Layers In After Effects

how to paint shadows in after effects 3d layers

Painting shadows in After Effects 3D layers can be a tricky process. It involves a lot of technical know-how and a good understanding of the software's tools. There are many ways to create shadows in After Effects, including using the Casts Shadows and Accepts Shadows options, playing with the depth of layers, and using pre-existing plugins and tutorials.

Characteristics Values
How to create drop shadows Duplicate image assets, combine them into one layer, and add a corner pin and drop shadow effect to create the shadow
Use the Sapphire plugins and the effect called S_DropShadow
Scale, skew, or rotate a copy of the character that is tinted black at 50% transparency
Toggle 3D and move it to the floor
How to cast shadows from one 3D layer to another Move the object away from the background (on the z-axis) by either pushing the background back away from the camera or moving the object closer
How to control how 3D objects interact with light and shadows Configure their cast and receive shadows properties using Compositing Options
How to ensure the shadow remains in the expected place on a 3D layer with a track matte Precompose the 3D layer and the track matte layer together (without collapsing transformations), and then apply the shadow to the precomposition

cypaint

Using the 'Cast Shadows' option

When working with 3D layers in After Effects, you can control how 3D objects interact with light and shadows in your composition by configuring their cast and receive shadows properties.

To do this, first create a new composition, import 3D models, and add an environmental light. In the Timeline panel, select the layer with 3D objects whose shadow properties you want to configure. Twirl open the properties and select Composition Settings to view the Cast Shadows and Accepts Shadows options.

For the Cast Shadows properties, you have the following options:

  • On: Turning on Cast Shadows enables the 3D models in the layer to cast shadows based on the environmental light source in the composition.
  • Off: When you turn off Cast Shadows, the 3D models in the layer will not cast any shadows.
  • Only: When you specify Only, the 3D models in the layer will not be visible but will still cast shadows. This is useful if you want to hide a 3D object but still have it cast a shadow.

Additionally, you can adjust the lighting to create more realistic shadows and ensure natural interactions with other 3D objects. You can do this by adjusting the Radius, Falloff Distance, and Cone Feather value of a Spot light. Changing the Position, Orientation, and Rotation of your lights will also affect the direction of the shadows.

It's worth noting that as of May 2025, users have reported issues with casting shadows in Advanced 3D renderer, with some suggesting that only the Classic 3D renderer supports this feature.

cypaint

Creating drop shadows

Using the Effects & Presets Panel:

  • Open the Effects & Presets panel by pressing Command + 5 on a Mac or Ctrl + 5 on a PC.
  • Type "Drop Shadow" in the search field and drag the effect onto your timeline layer or composition scene. Alternatively, go to the Effect tab and choose Perspective > Drop Shadow.
  • Adjust the properties of the drop shadow, including Shadow Color, Opacity, Direction, Distance, and Softness, to achieve the desired look.
  • To animate the drop shadow, select the text layer and click through the arrows of the Drop Shadow to set keyframes for the animation start and end.

Using the Layers Styles Menu:

  • Create a new composition in After Effects and use the Type tool (Command + T) to type the text you want to add a drop shadow to.
  • Select the Layer tab, right-click, and choose Layer Styles > Drop Shadow.
  • From the Drop Shadow menu, adjust the properties, including Blend Mode, Color, Opacity, Use Global Light, Angle, and Distance.

Radial Shadow:

A radial shadow creates a shadow from a single light source, and the colour of the original layer will affect the shadow's colour. You can adjust the shadow's direction and blur to control its appearance.

Duplicating Layers:

If you're working with a 3D animation, you can duplicate each layer you want to shadow. Apply Perspective > Drop Shadow to the lower layer and select "Shadow Only" to create a shadow effect.

Additionally, you can explore tutorials and plugins, such as the one by Andrew Kramer, to enhance your understanding of creating drop shadows in After Effects.

cypaint

Using 3D layers to cast shadows

To paint shadows in After Effects 3D layers, you need to understand the cast and receive shadows properties of 3D objects. These properties define the relationship between 3D objects and how they interact with light and shadows. By configuring these properties, you can control how 3D objects cast and receive shadows in your composition.

To begin, create a new composition and import your 3D models. Add an environmental light source to illuminate the 3D models and create shadows. In the Timeline panel, select the layer with the 3D objects whose shadow properties you want to adjust. You can then configure the cast and receive shadows options for this layer.

Turning on "Casts Shadows" under Compositing Options enables the 3D models in the layer to cast shadows. You can specify parameters such as "On" or "Only" for the Casts Shadows properties. When set to "On," the 3D models will cast shadows based on the environmental light source in the composition. On the other hand, "Accepts Shadows" allows the 3D models in the layer to receive shadows from other 3D objects with Casts Shadows enabled.

Additionally, you can use a technique called "shadow catcher" to create more natural-looking shadows. Add a solid layer and convert it to a 3D layer, then use the X Rotation property to align it with the surface where the shadow needs to be cast. Place this solid layer underneath the 3D model, and enable the "Accepts Shadows" option as "Only." This makes the layer invisible while still capturing the shadows cast by the 3D model above it.

It's important to note that only 3D layers interact with shadows, lights, and cameras in After Effects. When rendering for final output, ensure that your 3D layers are properly illuminated by the camera and that any desired effects are applied before converting the layer to 3D, as all effects are 2D projections.

Painting Your Bike? Keep it Intact!

You may want to see also

cypaint

Ensuring shadows are cast by light and object

When creating 3D animations in After Effects, you can control how 3D objects interact with light and shadows by configuring their cast and receive shadows properties. To do this, you must first create a new composition, import 3D models, and add an environmental light. Then, in the Timeline panel, select the layer with 3D objects whose shadow properties you want to configure.

To enable a 3D object to cast shadows, specify the Casts Shadows option as "On". This will cause the 3D models in the layer to cast shadows based on the environmental light source in the composition. If you want to hide the 3D object in the layer but still allow it to cast shadows, specify the Casts Shadows option as "Only".

To enable a 3D object to receive shadows from other 3D objects with Casts Shadows enabled, specify the Accepts Shadows option as "On". If you want to prevent a 3D object from receiving shadows, specify Accepts Shadows as "Off".

You can also adjust the lighting to create more realistic shadows and ensure natural interactions with other 3D objects. For example, you can adjust the light's intensity and the transition from light to shadow by adjusting the Cone Feather value of a Spot light. Additionally, you can add multiple shadow-casting lights to a 3D scene to enhance dynamic lighting and make the environment feel more alive.

cypaint

Configuring shadows with 'Accepts Shadows'

To configure shadows with "Accept Shadows" in After Effects, you must first understand the difference between "Cast Shadows" and "Accept Shadows." Cast Shadows determines whether a 3D object in a layer casts a shadow based on the environment light source in the composition. On the other hand, "Accept Shadows" determines whether a layer can receive shadows cast by other objects.

To configure "Accept Shadows" for a layer with 3D objects, follow these steps:

  • In the Timeline panel, select the layer containing the 3D objects whose shadow properties you want to adjust.
  • Open the properties for the selected layer and locate the "Composition Settings."
  • Within the "Composition Settings," you will find the Accept Shadows option.
  • Toggle the "Accept Shadows" setting to enable or disable the ability for the 3D objects in the layer to receive shadows.

By enabling "Accept Shadows," you allow the 3D objects in the layer to accept and display shadows cast by other objects in the scene. This is particularly useful when you want to create realistic lighting effects and ensure that the shadows interact with the environment appropriately.

It is important to note that the "Accept Shadows" option may not be available or function as expected in certain renderers, such as the Advanced 3D renderer in After Effects 24.6.1. In such cases, you may need to explore alternative solutions or use a different renderer, such as the Classic 3D renderer, which supports casting shadows.

Frequently asked questions

First, make sure the layer is a 3D layer. Then, turn on "Cast Shadows" under Compositing Options. This will enable the 3D models in the layer to cast shadows based on the environment light source in the composition.

Shadows need to be cast by the light and the object, and accepted by the background. Make sure "Accept Shadows" is turned on for the background layer. You can also try moving your object away from the background on the z-axis.

One way is to duplicate your image assets, combine them into one layer, and add a corner pin and drop shadow effect. However, this method requires you to manually readjust the drop shadow each time your character moves. Alternatively, you can scale, skew, or rotate a copy of the character that is tinted black at 50% transparency.

You can refer to the official Adobe help documentation for After Effects, which has tutorials on how to use cast and accept shadows, as well as how to work with 3D layers. There are also community forums and tutorials on websites like Reddit and Video Copilot that can provide additional tips and advice.

Written by
Reviewed by

Explore related products

Share this post
Print
Did this article help you?

Leave a comment