3D Layers, Cameras and Lights in After Effects: Turn on 3D, Camera Tool, Depth, Lights and Shadows for Depth and Parallax

Adobe After Effects 65 min min read Updated: Nov 17, 2026 Intermediate
3D Layers, Cameras and Lights in After Effects: Turn on 3D, Camera Tool, Depth, Lights and Shadows for Depth and Parallax
Intermediate Topic 1 of 3

3D Layers

Click the 3D cube switch on a layer. The layer gains a Z axis, and Position, Rotation and Orientation become 3D. Layers are still flat planes, but they can sit at different depths.

Camera

  1. Choose Layer > New > Camera
  2. Pick a preset such as 35mm or 50mm
  3. Use the Unified Camera tool (C) to orbit, pan and dolly in the Composition panel
  4. Animate the camera's Position and Point of Interest
Camera typeBehavior
One-nodeLooks along an orientation. Like a free camera
Two-nodeLooks at a point of interest. Easier for aiming

Lights

  • Parallel: sun-like
  • Spot: cone of light
  • Point: light bulb
  • Ambient: soft fill for all layers

Turn on Casts Shadows on a light and on layers, then check Material Options on each layer.

Parallax

Parallax is when near objects move more than far objects as the camera moves. Place layers at different Z depths and move the camera sideways.

Perspective Math

python focal = 50 # mm sensor = 36 # mm film width comp_w = 1920 # Field of view and zoom import math fov = 2 * math.degrees(math.atan(sensor / (2 * focal))) print("horizontal field of view:", round(fov, 1), "degrees") zoom = focal / sensor * comp_w print("approx. zoom in pixels:", round(zoom, 1)) # Apparent size vs distance for dist in [500, 1000, 2000]: print("distance", dist, "size factor", round(1000 / dist, 2))
Result

horizontal field of view: 39.6 degrees | approx. zoom in pixels: 2666.7 | distance 500 size factor 2.0 | distance 1000 size factor 1.0 | distance 2000 size factor 0.5

The farther a layer is from the camera, the smaller it looks. At twice the distance it looks half as big.

3D only affects 3D layers Text, shapes and solids need their 3D switch on, or they stay flat and ignore the camera.

Practice

  1. Make a three-layer parallax scene
  2. Create a camera and orbit slowly
  3. Add a spot light and a shadow
  4. Animate a Z move from far to near

Conclusion

Turn on 3D, add a camera and lights, and use depth for parallax.

Quick Summary: 3D layers; camera; lights; parallax; perspective maths.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators