Skip to content
VIDEOMONTAZHERDAVINCI RESOLVE · VIDEO · AI
ProcessorFUSION

uReplaceMaterial

Selection, binding and holdout for USD geometry

Binds a new material to selected USD objects. Prim Selection sets the scope, Type chooses Color/Texture/MaterialX, and scene, material and image inputs serve different roles.

At a glance
Node illustrationuReplaceMaterial
ResultUSD

uReplaceMaterial

Overview

What uReplaceMaterial does

Begin with the incoming stage and Scene Tree. Pick selects an object or material; Selected Prims retains the choice, and Invert Prim Selection excludes it from the replacement scope. For a first test, supply only two intended geometry branches before adding camera and light so the inversion scope is clear.

Type=Color builds the material in this node. Texture exposes image selection; MaterialX selects .mtlx or a material from the connected MaterialInput. MaterialX hides the other material controls: do not treat those as simultaneously active modifiers of the external definition.

ImageInput provides another route: a Fusion image or animation becomes the diffuse texture. BMD explicitly states that a connected ImageInput hides Filename and overrides the previously selected file. This branch does not need a detour through uTexture or MaterialInput.

MaterialInput accepts USD definitions from uMaterialX, uShader or another USD scene. Mere material presence in a stage does not bind it to geometry. Inspect both the selected definition and the full geometry-prim path; a similar short name does not establish the correct binding.

Opacity, Mode and Threshold cannot be reduced to one transparency switch. Presence removes lighting response at zero Opacity; positive Threshold introduces binary cutoff. With Threshold=0, intermediate Opacity does not automatically become 0 or 1 merely because Presence is selected.

Is Matte creates a holdout: an object can occlude surfaces behind it and punch a hole in rendered alpha. This is not matte paint or increased Roughness. Test it on two overlapping objects and inspect raw uRenderer output before a background Merge.

Material replacement should preserve geometry, the camera and intended neighboring prims. Export as Separate Stage concerns USD-output organization; file saving, texture packaging and writes to the original USD do not happen automatically.

When to use it

  • Recolor selected meshes or exclude them with Invert.

  • Bind a material from uShader or a uMaterialX library.

  • Use live Fusion animation as a diffuse texture.

  • Create a compositing holdout with Is Matte.