User Guide Cancel

Create realistic reflections and ambient lighting in a 3D scene

  1. After Effects User Guide
  2. Beta releases
    1. Beta Program Overview
    2. After Effects Beta Home
  3. Getting started
    1. Get started with After Effects
    2. What's new in After Effects 
    3. Release Notes | After Effects
    4. After Effects system requirements
    5. Keyboard shortcuts in After Effects
    6. Supported File formats | After Effects
    7. Hardware recommendations
    8. After Effects for Apple silicon
    9. Planning and setup
  4. Workspaces
    1. General user interface items
    2. Get to know After Effects interface
    3. Workflows
    4. Workspaces, panels, and viewers
  5. Projects and compositions
    1. Projects
    2. Composition basics
    3. Precomposing, nesting, and pre-rendering
    4. View detailed performance information with the Composition Profiler
    5. CINEMA 4D Composition Renderer
  6. Importing footage
    1. Preparing and importing still images
    2. Importing from After Effects and Adobe Premiere Pro
    3. Importing and interpreting video and audio
    4. Preparing and importing 3D image files
    5. Importing and interpreting footage items
    6. Working with footage items
    7. Detect edit points using Scene Edit Detection
    8. XMP metadata
  7. Text and Graphics
    1. Text
      1. Formatting characters and the Character panel
      2. Text effects
      3. Creating and editing text layers
      4. Formatting paragraphs and the Paragraph panel
      5. Extruding text and shape layers
      6. Animating text
      7. Examples and resources for text animation
      8. Live Text Templates
    2. Motion Graphics
      1. Work with Motion Graphics templates in After Effects
      2. Use expressions to create drop-down lists in Motion Graphics templates
      3. Work with Essential Properties to create Motion Graphics templates
      4. Replace images and videos in Motion Graphics templates and Essential Properties
      5. Animate faster and easier using the Properties panel
  8. Drawing, Painting, and Paths
    1. Overview of shape layers, paths, and vector graphics
    2. Paint tools: Brush, Clone Stamp, and Eraser
    3. Taper shape strokes
    4. Shape attributes, paint operations, and path operations for shape layers
    5. Use Offset Paths shape effect to alter shapes
    6. Creating shapes
    7. Create masks
    8. Remove objects from your videos with the Content-Aware Fill panel
    9. Roto Brush and Refine Matte
  9. Layers, Markers, and Camera
    1. Selecting and arranging layers
    2. Blending modes and layer styles
    3. 3D layers
    4. Layer properties
    5. Creating layers
    6. Managing layers
    7. Layer markers and composition markers
    8. Cameras, lights, and points of interest
  10. Animation, Keyframes, Motion Tracking, and Keying
    1. Animation
      1. Animation basics
      2. Animating with Puppet tools
      3. Managing and animating shape paths and masks
      4. Animating Sketch and Capture shapes using After Effects
      5. Assorted animation tools
      6. Work with Data-driven animation
    2. Keyframe
      1. Keyframe interpolation
      2. Setting, selecting, and deleting keyframes
      3. Editing, moving, and copying keyframes
    3. Motion tracking
      1. Tracking and stabilizing motion
      2. Face Tracking
      3. Mask Tracking
      4. Mask Reference
      5. Speed
      6. Time-stretching and time-remapping
      7. Timecode and time display units
    4. Keying
      1. Keying
      2. Keying effects
  11. Transparency and Compositing
    1. Compositing and transparency overview and resources
    2. Alpha channels and masks
    3. Track Mattes and Traveling Mattes
  12. Adjusting color
    1. Color basics
    2. Color management
    3. Color Correction effects
    4. OpenColorIO and ACES color management
  13. Effects and Animation Presets
    1. Effects and animation presets overview
    2. Effect list
    3. Effect Manager
    4. Simulation effects
    5. Stylize effects
    6. Audio effects
    7. Distort effects
    8. Perspective effects
    9. Channel effects
    10. Generate effects
    11. Time effects
    12. Transition effects
    13. The Rolling Shutter Repair effect
    14. Blur and Sharpen effects
    15. 3D Channel effects
    16. Utility effects
    17. Matte effects
    18. Noise and Grain effects
    19. Detail-preserving Upscale effect
    20. Obsolete effects
  14. Expressions and Automation
    1. Expressions
      1. Expression basics
      2. Understanding the expression language
      3. Using expression controls
      4. Syntax differences between the JavaScript and Legacy ExtendScript expression engines
      5. Editing expressions
      6. Expression errors
      7. Using the Expressions editor
      8. Use expressions to edit and access text properties
      9. Expression language reference
      10. Expression examples
    2. Automation
      1. Automation
      2. Scripts
  15. Immersive video, VR, and 3D
    1. Construct VR environments in After Effects
    2. Apply immersive video effects
    3. Compositing tools for VR/360 videos
    4. Advanced 3D Renderer
    5. Import and add 3D models to your composition
    6. Import 3D models from Creative Cloud Libraries
    7. Image-Based Lighting
    8. Extract and animate lights and cameras from 3D models
    9. Tracking 3D camera movement
    10. Cast and accept shadows
    11. Embedded 3D model animations
    12. Shadow Catcher
    13. 3D depth data extraction
    14. Modify materials properties of a 3D layer
    15. Work in 3D Design Space
    16. 3D Transform Gizmos
    17. Do more with 3D animation
    18. Preview changes to 3D designs real time with the Mercury 3D engine
    19. Add responsive design to your graphics 
  16. Views and Previews
    1. Previewing
    2. Video preview with Mercury Transmit
    3. Modifying and using views
  17. Rendering and Exporting
    1. Basics of rendering and exporting
    2. H.264 Encoding in After Effects
    3. Export an After Effects project as an Adobe Premiere Pro project
    4. Converting movies
    5. Multi-frame rendering
    6. Automated rendering and network rendering
    7. Rendering and exporting still images and still-image sequences
    8. Using the GoPro CineForm codec in After Effects
  18. Working with other applications
    1. Dynamic Link and After Effects
    2. Working with After Effects and other applications
      1. Export After Effects project as Premiere Pro project
    3. Sync Settings in After Effects
    4. Creative Cloud Libraries in After Effects
    5. Plug-ins
    6. Cinema 4D and Cineware
  19. Collaboration: Frame.io, and Team Projects
    1. Collaboration in Premiere Pro and After Effects
    2. Frame.io
      1. Install and activate Frame.io
      2. Use Frame.io with Premiere Pro and After Effects
      3. Frequently asked questions
    3. Team Projects
      1. Get Started with Team Projects
      2. Create a Team Project
      3. Collaborate with Team Projects
  20. Memory, storage, performance
    1. Memory and storage
    2. How After Effects handles low memory issues while previewing    
    3. Improve performance
    4. Preferences
    5. GPU and GPU driver requirements for After Effects
  21. Knowledge Base
    1. Known issues
    2. Fixed issues
    3. Frequently asked questions
    4. After Effects and macOS Ventura
    5. How After Effects handles low memory issues while previewing

Use any image as a light source to realistically place 3D models into a scene with complementary lighting and shadows.

Image-Based Lighting (IBL) uses an image to produce realistic reflections and ambient lighting in a 3D scene. It gives subtle lighting effects that help make the objects appear as though they naturally belong in an environment. Environment Lights in After Effects create realistic lighting, reflections, and shadows on 3D layers by surrounding the scene with an image-based environment map.

Use an image to create realistic reflections and ambient lighting in a 3D scene.

Note:

Environment lights currently work only in the Advanced 3D renderer. 

Add an environment light

To add an environment light, choose Layer > New > Light, and set the Light Type to Environment.

In the Light Setting dialog, select Environment from the Light Type dropdown list.
In the Light Setting dialog, select Environment from the Light Type dropdown list.

After Effects uses a default environment map once you set Environment as the Light Type under Light Settings. This can be changed to an image layer with an HDRI file such as .hdr or .exr file in the composition as an environment map.

  1. Import a .hdr or .exr file into your project.

  2. Add the imported file to a composition by dragging and dropping it to the Timeline panel.

  3. Twirl open the Environment Light properties in the Timeline panel.

  4. Under the Light Options, set the Source property to the layer with .hdr or .exr file.

    Select the layer with the HDR file from the Source dropdown.
    Select the layer with the HDRI file from the Source drop-down list.

Tip:

The HDRI file layer’s visibility will be disabled when chosen as an environment map. You can re-enable this if you want. However, this will continue to be a 2D render of the layer. To simulate the layer with an HDRI file as a background scene layer, apply the CC Environment effect to a solid layer with the exact dimensions as the composition. 

Note:
  • The existing Layer > Environment Layer switch does not work with the Advanced 3D renderer. This option works only with the Cinema 4D renderer.
  • Environment maps must be single HDRI frame layers, not sequences. Effects and animation applied to the environment map are ignored.

Convert image file to HDR file using After Effects

While environment lights only accept HDR format files as environment maps, you can easily convert other image file formats to HDR using After Effects.

  1. Import an image file by selecting File > Import > File.

  2. With the file selected in the Project panel, select File > New Comp from Selection.

  3. Select File > Project Settings to launch the Project Settings dialog box.

  4. In the Color tab, under the Color Settings section, select the Bit Depth as 32 bits per channel (float), and select OK.

  5. With the composition or timeline active, select Composition > Save Frame As > File.

  6. In the Render Queue panel, select the linked text next to the Output Module option.

  7. In the Output Module Settings dialog box, specify the Format as Radiance Sequence and select OK.

  8. Select Render.

Convert image file to HDR file using Adobe Photoshop

  1. Open the image file in Photoshop.

  2. Choose Image > Mode > 32 Bits/Channel. (Radiance format requires 32 bits per channel.)

  3. Choose File > Save As or Save a Copy.

  4. Set the Format to Radiance

Add Environment light shadows

The default environment light doesn’t cast shadows. You must add an environment light layer and enable the Casts Shadows option to cast shadows. Once enabled, all 3D layers in the scene will cast voxel shadows except for the following instances:

  • If the layer has the Casts Shadows property turned off.
  • If the layer is outside the shadow volume.
  • If a layer has the Receive Shadows property off, it will not be affected by shadows even if the Casts Shadows property is turned on and is inside the shadow volume.
  1. Select the Light layer and choose Layer > Light Settings.

  2. In the Light Settings dialog, check the Cast Shadows check box and set the Shadow Darkness amount.

    Enable the Cast Shadows option to add shadows to your 3D environment.
    Enable the Cast Shadows option to add shadows to your 3D environment.

    You can also use the Cast Shadows property in the Timeline panel to enable shadows. Learn more about configuring 3D layers' cast and receive shadows properties.

    Use the Cast Shadows property in the Timeline panel to enable shadows.
    Use the Cast Shadows property in the Timeline panel to enable shadows.

Voxel shadows are memory intensive. The shadow settings are controlled in the Renderer Options dialog, which you can open from either Composition Settings > 3D Renderer or the 3D Renderer drop-down list at the bottom of the Composition panel.

Set and control the shadow settings in the Renderer Options dialog.
Set and control the shadow settings in the Renderer Options dialog.

Render Quality

Control the overall quality of the rendered output, including smoothness, lighting, and shadows. Higher values can use large amounts of memory.

Render Quality

Adjust how blocky the shadows look. Higher values can use large amounts of memory. 

Smoothness

Reduce or increase the amount of noise in the shadows. The default is 3. There is an inverse relationship between Smoothness and Render Quality. When Render Quality is set lower, you'll want a higher Smoothness value, and vice versa. 

Tip:

Keep the Smoothness value low and rely on render quality until non-shadow scene quality looks good, and then, if necessary, gradually increase the smoothness.

Casting Box Size and Casting Box Center

Adjust these properties to define the area within which shadows can be cast onto a layer. Voxel shadows are only cast from layers inside a limited box to limit memory use. Making the box larger spreads the voxel resolution across a bigger area, causing shadows to get softer. While the Advanced 3D Render Options dialog is open, a magenta outline represents the cube in the composition. 

Note:

Shadows are only cast from layers with Cast Shadows enabled to layers with Accepts Shadows enabled.

Set an object to bypass lights and shadows in your scene

  Accepts Lights is now available for testing and feedback. Try it now in After Effects (Beta).

Turn off Accepts Lights on a 3D layer in a 3D composition so that it's no longer affected by any light sources in the scene. This can be useful if you want the layer to maintain its original appearance without being influenced by lighting changes, shadows, or highlights from other light sources.

When Accepts Lights is turned off, the objects in these layers will appear lit by basic ambient illumination, displaying only their base color and emissive textures. Essentially, this makes the layer look as if it's self-illuminated, maintaining a consistent appearance regardless of the surrounding lighting environment. 

This can be particularly helpful when working with a 3D composition that includes self-illuminated 3D objects like phone screens and neon lights.

The timeline is open with different layers including a 3D layer. The 3D layer's Compositing Options is open and Accepts Lights option is checked 'Off'.
Turning off Accepts Lights for a 3D layer ensures its appearance remains unaffected by other light sources or shadows.

Note:

Accepts Lights is also supported in the Classic 3D and Cinema 4D renderers. 

Scripting access to Environment layer Light Type

Using scripting to read the lightType property of a LightLayer object will return LightType.ENVIRONMENT for an environment light.

More like this

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online