Skip to content

Drop Shadow

Adds a colored, blurred shadow behind the source image, offset by a specified distance.

Category: Effects Menu path: Effects > Drop Shadow

Ports

PortTypeDirectionDescription
inimageRgba16finputInput image
outimageRgba16foutputImage with drop shadow composited behind it

Parameters

ParamTypeDefaultDescription
colorcolorblack (0,0,0,1)Shadow color in linear space.
offsetvec2(5, 5)Shadow displacement in pixels (X, Y). Positive X = right, positive Y = down. Keyframeable.
blurscalar10Gaussian blur radius for the shadow softness. 0 = hard shadow. Keyframeable.
opacityscalar0.75Shadow opacity. 0 = invisible, 1 = fully opaque shadow. Keyframeable.
spreadscalar0Controls shadow alpha hardening. 0 = soft natural falloff, 1 = hard opaque shadow before blur. Keyframeable.

Expose Channels

When enabled (E button on node header), adds input ports that override params via edge connections:

PortTypeOverrides
offset_invec2offset
blur_inscalarblur
opacity_inscalaropacity
spread_inscalarspread

How It Works

The drop shadow is a three-pass operation:

  1. Shadow pass: The source image's alpha channel is sampled at an offset UV position, then hardened by the spread parameter (pow(alpha, spread_exp)). The result is tinted with the shadow color and scaled by opacity.
  2. Blur pass: The shadow is gaussian-blurred to create soft edges.
  3. Merge pass: The original image is composited OVER the shadow using Normal blend mode, so the source appears on top with the shadow behind.

Drop shadow expands content bounds based on offset distance plus blur radius (×3 for the gaussian tail), ensuring the shadow isn't clipped at comp edges.

Usage Examples

Basic: Simple drop shadow

  1. Add a Drop Shadow node after your content (text, shape, image)
  2. Set offset to (5, 5), blur to 10, opacity to 0.6
  3. A soft dark shadow appears behind and below the content

Creative: Long dramatic shadow

  1. Set offset to (20, 40) for a tall shadow cast by a low light source
  2. Increase blur to 30 for a diffuse, distant-light feel
  3. Set spread to 0.5 to keep the shadow dense near the object

Advanced: Colored contact shadow

  1. Set color to a dark blue and offset to (0, 2)
  2. Set blur to 3 and spread to 0.8
  3. Creates a tight, colored contact shadow directly beneath the object

Tips

  • Spread 0 gives the most natural soft falloff; spread 1 makes the shadow fully opaque before blur is applied
  • Offset is in comp pixels, so the shadow position is resolution-dependent
  • Negative offset values cast the shadow upward/leftward
  • For text layers, apply Drop Shadow after DrawText for the cleanest result
  • Stack multiple Drop Shadow nodes for layered shadow effects (e.g. a tight contact shadow plus a diffuse cast shadow)
  • Glow -- similar multi-pass architecture but adds light instead of shadow
  • Blur -- the blur stage used internally
  • Merge -- manual compositing for more complex shadow setups
  • Matte -- extract alpha for custom shadow shapes

Caddis — professional motion design.