Override the material applied to the objects in a collection

Override the material applied to the objects in a collection in one of two ways: create a material override to override the shading group, or a shader override to override the surface shader.

Note:

To identify the surface shaders and shading group nodes that are associated with the collection members, click View All in the collection Property Editor, then enable View Dependencies.

Create a material override to override the shading group

  1. Right-click the collection of objects and select Create Material Override.
  2. Click the map button beside the Override Material attribute in the Property Editor and select the new material that you want to assign to the objects in the collection.

    To override the object's shading group with an existing material, middle-drag and drop from the Hypershade Browser panel to the Override Material attribute.

    The Override Material attribute in the Property Editor indicates *SG; for example, blinn2SG, indicating that the override is connected to a shading group.

  3. Note:

    Connection between your original shading material to a displacement shader is not preserved since the shading group node has been replaced. You can create a shader override instead to preserve this connection.

    A common use case is when you want to apply an ambient occlusion shader to create an ambient occlusion pass. In this example, if you were to create a material override and replace blinn1SG, you would lose the connection to your displacementShader and you would need to reconnect your displacementShader to your new shading group as a result.

    Instead, you can create a shader override to replace only the blinn1 shader with an ambient occlusion shader. This way, the connection to displacementShader is preserved.

Create a shader override to override the surface shader

    Note: Shader overrides are not supported for objects such as Arnold stand-ins that do not have an initial shading group assigned. Material overrides, however, are supported.
  1. Right-click the collection of objects and select Create Shader Override.

    A shadingEngines subcollection is created beneath your objects collection, as well as a corresponding shader override.

  2. Select the shader override and click the map button beside the Override Shader attribute in the Property Editor and select the new surface shader that you want to assign to the objects in the collection.

    To override the object's surface shader with an existing shader, middle-drag and drop from the Hypershade to the Override Shader attribute.

  3. Note:

    Shader overrides are not collection specific. The shader override will be applied to all objects (and instances of objects) that are in the same layer and that have the same material assigned initially, even if these objects belong to a different collection.

Note: If you import a shader override into a scene that does not contain the new surface shader that you are assigning to your objects, an ! appears beside the override. To resolve this problem, recreate the surface shader that is missing to reconnect it to the override. After you recreate the missing shader, a red border may appear around the layer visibility icon ; click this to refresh your layer and see the updated result. The same applies to material overrides.

Related topics