Create Realistic CC Light Rays in After Effects

This guide covers how to generate, configure, and blend natural volumetric light rays using the CC Light Rays effect in Adobe After Effects. You will learn how to set up your composition, isolate scene highlights, dial in the effect's core parameters, and integrate atmospheric blending to ensure the light rays interact realistically with your scene rather than looking like an artificial overlay.

1. Prepare Your Layer and Isolate Highlights

CC Light Rays generates rays based on the bright pixels of the layer it is applied to. Applying it directly to your base footage often results in a flat, muddy look.

  1. Select your background footage layer and duplicate it (Ctrl+D on Windows or Cmd+D on Mac).
  2. Name the top duplicate layer "Light Rays Source".
  3. Apply a Curves or Levels effect to this duplicate layer.
  4. Crush the shadows and midtones to pure black, leaving only the brightest highlights (like a window, the sun, or a streetlamp) visible. This ensures rays are only cast from actual light sources.

2. Apply CC Light Rays

  1. Select the "Light Rays Source" layer.
  2. Go to Effect > Generate > CC Light Rays.
  3. In the Effect Controls panel, position the Center crosshair over the primary light source in your scene.

3. Adjust Core Parameters for Natural Diffusion

Default settings produce harsh, artificial streaks. Modify the following parameters to soften and naturalize the effect:

  • Intensity: Lower this to a range between 30 and 70. High intensity blows out details and creates clipped artifacts.
  • Radius: Increase this value to extend how far the light casts across the frame. A higher radius creates a smoother falloff.
  • Warp Softness: Increase this value (between 100 and 200) to soften the ray boundaries and eliminate sharp, pixelated streaks.
  • Shape: Set this to Round for omnidirectional sources like the sun or lightbulbs, or leave it as Square if casting light through slatted blinds or angular windows.

4. Correct the Blending and Color

To seamlessly integrate the rays into the environment:

  1. Change the transfer mode inside the CC Light Rays effect to None or Add.
  2. Change the blend mode of the "Light Rays Source" layer in the timeline to Screen or Add.
  3. Match the scene's lighting temperature by applying the Tritone or Tint effect beneath CC Light Rays:
    • Map the highlights to a pale version of the light source color (e.g., warm pale yellow for sunlight, cool pale blue for moonlight).
    • Map the midtones to the dominant ambient bounce color of the environment.
  4. Lower the layer's overall Opacity to roughly 50% to 75% so the underlying footage shows through naturally.

5. Add Motion and Depth Occlusion

Real-world light rays shift slightly with atmospheric dust and camera movement.

  1. Animate the Center: If the camera or light source moves, keyframe the Center property or apply a subtle expression. Alt-click the Center stopwatch and add wiggle(0.5, 5); to simulate gentle atmospheric drifting.
  2. Handle Occlusion: If an object passes in front of the light source, the rays behind it should disappear. Duplicate the original footage, use the Pen Tool or Roto Brush to mask out the foreground object, and place this cutout layer above the "Light Rays Source" layer.
  3. Atmospheric Softening: Add a subtle Fast Box Blur (Radius set to 1–3) at the bottom of your effect stack to blend the rays with the camera's natural depth of field and lens softness.