set_render_passes
Turns render passes on or off for the active view layer, enabling depth, mist, normal, and cryptomatte output for multilayer EXR files or compositor use.
Instructions
Turn render passes on or off for the active view layer.
Passes are extra images saved with a multilayer EXR or used in the compositor: depth for fog and focus, mist, normals, cryptomatte masks for picking objects later.
Args: passes: Pass names: combined, z (alias depth), mist, normal, position, vector, uv, object_index, material_index, ambient_occlusion (alias ao), shadow, emit (alias emission), environment, diffuse_direct, diffuse_indirect, diffuse_color, glossy_direct, glossy_indirect, glossy_color, transmission_direct, transmission_indirect, transmission_color, subsurface_direct, subsurface_indirect, subsurface_color, cryptomatte_object, cryptomatte_material, cryptomatte_asset, shadow_catcher (Cycles), volume_direct, volume_indirect (Cycles), transparent (EEVEE), grease_pencil. enabled: True to turn them on, False to turn them off.
Returns: Dict with the view layer name and the passes changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passes | Yes | ||
| enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||