User Guide Cancel

3D Channel effects

  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

Third-party effects in this category included with After Effects:

  • EXtractoR effect

  • IDentifier effect

  • ID Matte

About 3D Channel effects, including ProEXR effects

The 3D Channel effects work on 2D layers—specifically, 2D layers with 3D information in auxiliary channels. The sources of these 2D layers are image sequences that represent 3D scenes that have been rendered out of a 3D application.

Use 3D Channel effects to integrate 3D scenes into 2D composites and to modify those 3D scenes. You can import 3D image files saved in RLA, RPF, Softimage PIC/ZPIC, and Electric Image EI/EIZ formats. For PIC and EI files, the 3D channel information is in the ZPIC and EIZ files, respectively. You don’t import ZPIC and EIZ files, but as long as they’re in the same folder with the PIC and EI files, you have access to their 3D channels using the 3D Channel effects. The 3D Channel effects don’t affect other types of files.

3D Channel effects read and manipulate the additional channels of information, including z-depth, surface normals, object ID, texture coordinates, background color, unclamped RGB, and material ID. You can layer 3D elements along the z-axis, insert other elements in a 3D scene, blur areas in a 3D scene, isolate 3D elements, apply a foggy effect with depth, and extract 3D channel information for use as parameters in other effects.

If you convert a layer with a 3D Channel effect to 3D and view the layer from anywhere but the front and center, it doesn’t appear as expected.

Note:

To display depth and other channel values for a pixel in the Info panel, apply a 3D Channel effect, and then—with the effect selected—click the pixel in the Composition panel or Layer panel using the Selection tool.

Dave Scotland provides a pair of tutorials on the CG Swot website in which he demonstrates how to create RPF files in a 3D application and how to use RPF files in After Effects. The first part explains the RPF format and how to create RPF files in 3DS Max. The second part shows how to use the Object ID and Z depth information in an RPF file within After Effects, using the ID Matte, Depth of Field, Depth Matte, and Fog 3D effects.

Using channels in OpenEXR files

3D Channel effects can use the channels in OpenEXR files—such as a depth channel—if the channels have been tagged. Unlike some other formats, like RPF, in which a specific set of channels is defined to always represent specific properties of a scene, the OpenEXR format is an arbitrary collection of channels with no inherent meaning. The R, G, B, and A channels are reserved to represent red, green, blue, and alpha values, but other channels can be used for any other characteristics. To map channel names to the values of a specific type for use by other effects, you can use a file with the name OpenEXR_channel_map.txt. If this file is in the same folder as the OpenEXR format plug-in, the OpenEXR plug-in will use the information in this file to tag channels when it imports an OpenEXR file.

An OpenEXR_channel_map.txt file is not included with After Effects, but you can download one as part of the ProEXR package from the fnord software website. The sample OpenEXR_channel_map.txt file available from the fnord software website includes documentation describing its use.

The ProEXR package from the fnord software website also includes the ProEXR Comp Creator plug-in. This plug-in can create a layer from each of the channels of an OpenEXR file. For example, the layers can represent the output from a set of render passes from a 3D application.

ProEXR plug-ins, IDentifier, and EXtractoR

The EXtractoR and IDentifier plug-ins from fnord software are included with After Effects to provide access to multiple layers and channels of OpenEXR files.

Documentation for fnord ProEXR plug-ins is available in a PDF document on the fnord software website, which includes links to a sample multi-channel EXR file and an After Effects project that uses it. The instructions in the fnord document regarding the removal of the OpenEXR plug-ins don’t apply to After Effects CS5.

3D Channel Extract effect

The 3D Channel Extract effect makes auxiliary channels visible as either grayscale or multichannel color images. You can then use the resulting layer as a control layer for other effects. For example, extract the depth information in a 3D channel image file and then use it as an influence map in the Particle Playground effect, or extract values from the unclamped RGB channel to produce a matte that generates glowing highlights.

Note:

To display 3D channel values for a pixel in the Info panel, apply the 3D Channel Extract effect, choose the channel from the 3D Channel menu in the Effect Controls panel, and then click the pixel in the Composition panel or Layer panel using the Selection tool.

This effect works with 8-bpc and 32-bpc color.

3D Channel Extract effect: Original, with 3D Channel Extract applied using Texture UV
Original (left), with 3D Channel Extract applied using Texture UV (right)

White Point, Black Point

The value that is mapped to white or black.

3D Channel

The channel to extract from the 3D image:

Z-Depth

Represents the distance of a given shaded pixel from the camera. White represents the greatest distance; black pixels are closest to the camera. Effects such as the Lens Blur effect can use this information to generate depth-of-field effects. When you apply the channel directly as a luma matte, you get fog.

Note:

For best results, match the White Point and Black Point settings of the effect with the near and far settings of your camera in the 3D application that generated the 3D image.

Work with the anti-alias parameter

The Anti-alias parameter allows you to choose whether the output of the effect is anti-aliased or not. Anti-aliased depth passes are useful to smooth the edges of mattes used for depth compositing or color correction.

Disable this option when you use Depth of Field or other effects where it is important that objects and their edges are considered to be at the same distance. Anti-aliased edges affect the gray values of the edge pixels, which can affect the apparent depth of the edge and cause artifacts in the effect using the matte.

Clamp Output Available in 32-bpc color mode only, clamps the grayscale output of the effect to values between 0 and 1.0. On by default.

Invert Depth Map inverts the grayscale output of the effect.

Object ID

Each object can be assigned a separate ID value in the 3D application. You can use a map generated using this channel to selectively apply effects to certain objects in a 3D scene—for example, to apply selective color adjustments. This channel is not anti-aliased.

Texture UV

This channel contains the mapping coordinates of the textures of your object, mapped to the red and green channels. This channel is not anti-aliased.

This channel can be used to check your UV maps or as input for the Displacement Map effect.

Surface Normals

This channel maps the direction vector of each point on the surface of an object to the RGB channels. The vectors are relative to the camera. Third-party plug-ins can use this channel as the basis for dynamic relighting and relief rendering. This channel is anti-aliased.

Coverage

The behavior for this channel varies for various 3D applications. It is used to mark areas near the edges and contours of objects to provide information about their anti-aliasing and overlap behavior.

Background RGB

This channel contains all RGB pixel values of the background without any foreground objects. It is mostly used to store dynamic environmental effects unique to 3D programs such as skies or backgrounds generated from procedural textures. This channel is anti-aliased.

Unclamped RGB

This channel contains the colors from the 3D application as they were presented to the 3D application’s renderer before it applied exposure and gamma adjustments. This channel is anti-aliased.

Material ID

Each material can be assigned a separate ID value in the 3D application. You can use a map generated using this channel to selectively apply effects to certain materials in a 3D scene. This channel is not anti-aliased.

Depth Matte effect

The Depth Matte effect reads the depth information in a 3D image and slices the image anywhere along the z-axis. For example, you can remove a background in a 3D scene, or you can insert objects into a 3D scene.  

Note:

To insert a layer into a 3D scene, apply the Depth Matte effect to the layer containing the 3D scene, set the Depth property to the depth at which you want to insert the new layer, duplicate the 3D scene layer, select Invert for the 3D scene layer on top, and place the new layer between the two 3D scene layers in the layer stacking order in the Timeline panel.  

This effect works with 8-bpc, 16-bpc, and 32-bpc color.

Depth Matte effect: Original, with effect applied, and with effect applied and Invert Alpha selected
Original (upper-left), with effect applied (lower-left), and with effect applied and Invert Alpha selected (lower-right)

Depth

The z-axis value at which to slice the image. Everything with a depth value less than this Depth value is matted out.

Note:

To determine the depth of an object, click it in the Composition panel or Layer panel using the Selection tool while the effect is selected.

Feather

The amount of feather along the edges of the matte.

Invert

Select to matte out everything with a depth greater than the Depth value. Deselect to matte out everything with a depth less than the Depth value.

Depth Of Field effect

The Depth Of Field effect simulates a camera that’s focusing at one depth (focal plane) in a 3D scene, blurring objects at other depths. This effect uses the depth information from the auxiliary channel of an imported file representing a 3D scene. To use the depth information that After Effects calculates for a camera layer, see Create a camera layer and change camera settings.

This effect works with 8-bpc, 16-bpc, and 32-bpc color.

Depth of Field effect: Original, and with Depth Of Field applied using different Focal Plane values
Original (upper-left), and with Depth Of Field applied using different Focal Plane values (lower-left and lower-right)

Focal Plane

The distance along the z-axis of the focal plane from the camera.

Note:

To show the depth of an object in the Info panel, click the object in the Composition panel or Layer panel using the Selection tool while the effect is selected.

Maximum Radius

How much blur is applied to objects outside the focal plane.

Focal Plane Thickness

Determines what depths are in focus on either side of the focal plane.

Focal Bias

The higher the value, the more quickly elements drop out of focus with increasing distance from the focal plane.

Dave Scotland provides a video tutorial on the CG Swot website in which he shows how to use the Depth Of Field effect, even with a 3D file that has been rendered without optimal depth settings.

Fog 3D effect

The Fog 3D effect simulates fog by behaving as though a scattering medium is in the air that makes objects look more diffuse as they get more distant along the z-axis.

This effect works with 8-bpc, 16-bpc, and 32-bpc color.

Note:

As with all effects in the 3D Channel effects category, the Fog 3D effect depends on depth information from image sequence files of the kind rendered out of a 3D application. For general information on 3D Channel effects, see About 3D Channel effects, including ProEXR effects. For information about simulating fog in After Effects, see Compositing fog, smoke, and clouds.

Fog 3D effect: Original, Gradient Layer, and with Fog 3D applied
Original (upper-left), Gradient Layer (lower-left), and with Fog 3D applied (lower-right)

Fog Start Depth

Where along the z-axis the diffuse scattering begins.

Note:

To determine the depth of an object, click it in the Composition panel or Layer panel using the Selection tool while the effect is selected.

Fog End Depth

Where along the z-axis the diffusion reaches its maximum.

Scattering Density

Determines how quickly the scattering occurs. The higher the value, the more dense the fog appears from its starting point.

Foggy Background

Creates a foggy background (default). Deselect to create transparency at the back of the 3D scene for compositing on top of another layer.

Gradient Layer

(Optional) A grayscale layer to use as a control layer, the luminance values of which apply to fog density. For example, use the Turbulent Noise effect to create a swirling control layer for atmospheric fog. Make sure that the dimensions of the gradient layer are at least as great as the dimensions of the 3D scene layer.

Layer Contribution

How much the gradient layer affects the fog density.

Depth passes for 3D compositions

A depth pass is black and white information that correlates to distance. For example, if you have a scene that is filled with black fog and white objects, the objects that are farther away from the camera have a darker tone than the ones that are closer.

You can extract Z-depth by the 3D channel effects from a nested composition that contains 3D layers. You can use this to apply 3D depth effects to the composition layer, such as a depth of field blur, or to generate a matte for depth compositing or color correction.

Depth passes work with either the Classic 3D or CINEMA 4D composition renderers.

Extract depth pass
Extract depth pass

The following 3D channel effects can extract Z-depth from a nested 3D composition:

  • 3D Channel Extract
  • Depth Matte
  • Depth of Field
  • Fog 3D

Extract a depth pass

To extract a depth pass, from the Effects panel, apply the 3D Channel Extract effect to a nested composition layer.

Note the following:

  • The 3D Channel parameter is disabled when 3D Channel Extract is applied to a nested composition layer.
  • Use the Black Point and White Point properties to set the start and end of the depth range. The start and end is measured in pixels from the camera position.
  • The default Black Point and White Point values are 5000.0 and 0.0, respectively. If your 3D scene extends farther than 5000 pixels away from the camera you need to increase the Black Point value.
  • When the project is set to 32-bpc, the depth output is clamped to 0-1 for the same range that is clamped for 8- or 16-bpc.

Use the EXtractoR effect to extract a depth pass

You can use the EXtractoR effect to extract a depth pass from a nested composition, but anti-aliased edges against a transparent background can render with a fringe.

To view the edges, use the following steps:

  1. From the Effects panel, apply the Shift Channels effect to the nested composition, and set the Take Alpha From parameter to Full On.

  2. Or, change the Channel View option at the bottom of the Composition panel to Straight RGB.

ID Matte effect

Many 3D programs tag each element in a scene with a unique Object ID. The ID Matte effect uses this information to create a matte that excludes everything in the scene except the element you want.

This effect works with 8-bpc, 16-bpc, and 32-bpc color.

ID Matte effect: Original, with ID Matte applied using the near alien as the ID Selection, and composited over a new background
Original (upper-left), with ID Matte applied using the near alien as the ID Selection (lower-left), and composited over a new background (lower-right)

Aux. Channel

Isolate elements based on Object ID or Material ID.

ID Selection

The ID value for an object.

Note:

To determine the ID of an object, select the ID type from the Aux. Channel menu in the Effect Controls panel, and click the object in the Composition panel or Layer panel using the Selection tool while the effect is selected. If Object ID is selected for Aux. Channel, ID Selection automatically updates to the Object ID for the object you click.  

Feather

The amount of feather along the edges of the matte.

Invert

Inverts the selection. Select to matte out the object specified by ID Selection. Deselect to matte out everything but the object (default).

Use Coverage

Creates a cleaner matte by removing the colors stored behind the object from the pixels along the edge of the matte. This option works only if the 3D image contains a coverage channel that stores information about the colors behind objects.

 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