After Effects shadows: why they disappear
A 3D shadow needs four boxes ticked: the light and the layer cast shadows, the floor accepts shadows and accepts lights. Then three traps: a 2D layer sitting between 3D layers, a floor facing down, and a parallel light in Advanced 3D. If shadows come and go from frame to frame, try the Cinema 4D renderer.
Building the 3D side of Simple Gravity Pro, I spent more time on shadows than on physics. Falling objects without shadows look like they float, so every test scene needed them. And almost every time, a shadow was missing, for a different reason. Here are the ones I hit, in the order I would check them today.
1. A 2D layer between 3D layers
This is the sneakiest one, because everything else is set right. After Effects does not render one 3D scene for the whole comp: it groups the 3D layers that follow each other in the stack. A 2D layer in the middle, a title, a background, an adjustment layer, splits the stack into two separate 3D scenes, rendered one after the other.
Layers in one scene no longer cast shadows on the other, and no longer hide each other. In my case, letters that fell behind a table stayed visible on top of it: the 2D title had cut them off from the table.
The fix: move 2D layers to the very top or the very bottom of the stack, or turn on their 3D switch.
2. The four boxes to tick
- The light casts shadows (Light Options). It has to be a spot or point light: an ambient light never casts one.
- Every layer casts shadows (Material Options). It is off by default, so it gets forgotten on half the layers.
- The floor accepts shadows (Material Options).
- The floor accepts lights. Nobody looks at this one: a layer that does not accept lights shows no shadow, even with everything else ticked. It was the cause of my very first missing shadow.
3. The floor is upside down
To lay a solid down as a floor, you rotate it 90° on X. But which way? In Classic 3D, it makes no difference. In Advanced 3D, no shadow shows on the back of a layer. With an X rotation of +90°, the floor's front faces down and the shadows vanish. At −90°, they come back.
The fix: a floor facing up. If artwork sits on the floor, flip it with the scale rather than leaving the floor upside down.
While you are there: turn off "Casts Shadows" on the floor itself. It has nothing to shade.
4. Parallel lights and the 3D renderer
Each of After Effects' 3D renderers has its own rules. Here is what I saw in After Effects 26.5:
- Parallel light: it casts shadows in Classic 3D, but none in my tests in Advanced 3D, even though Adobe says it is supported. A spot light works in all three renderers: it is the safe choice.
- Flickering shadows: in Advanced 3D, shadows came and went from frame to frame during motion, in a real render as in the preview. Nothing in the scene explained the difference between two almost identical frames. With the comp switched to the Cinema 4D renderer, the shadows stayed on every frame.
- The cost of Cinema 4D: it renders more slowly, and it does not show the spheres, cubes and tori made in After Effects, which need Advanced 3D.
In After Effects 2027, Advanced 3D shadows looked stable frame by frame, but I only saw that in draft preview. Check on a real render before you rely on it.
5. Shadows that exist but you cannot see
- Draft mode: the Draft 3D preview draws shadows paler, or not at all. Turn it off, or render a frame, before looking further.
- The shadow hides under the object: a flat object on the floor, under a high light, casts a very short shadow, almost entirely hidden under it from the camera. Bring the light down or move it to the side.
- The shadow is pale: with an ambient light in the comp, a floor whose Ambient material setting is at 100% stays lit everywhere, shadows included. Bring it down to 20–30%.
- The frame stays black: at full resolution, a 3D frame with shadows can take a second to compute, and stays black meanwhile. Nothing is broken: work at half or quarter resolution.
6. The oversized floor
A 6000 × 6000 px solid receiving shadows, in Classic 3D: After Effects refused to render the frame, going past its memory limit per frame. A floor does not need to reach the horizon. Cut it to what the camera sees, with some margin.
The checklist
- No 2D layer between the 3D layers.
- A spot or point light that casts shadows.
- Every layer: casts shadows.
- The floor: accepts shadows and accepts lights, casts none, faces up.
- Draft 3D off before judging.
- Shadows flickering in Advanced 3D: try the Cinema 4D renderer.
Simple Gravity Pro sets all this when it makes the floor and the light for a 3D fall, and warns you when a 2D layer splits the scene. But the checklist holds for any 3D comp.
Describe your case in a comment: 3D renderer, light type, After Effects version. I will add new traps to the article.
Comments