The Replace Material 3D node replaces the material applied to all the geometry in the input scene with its own material input. Any lights or cameras in the input scene are passed through unaffected.
The scope of the replacement can be limited using Object and Material identifiers in the Inspector. The scope can also be limited to individual channels, making it possible to use a completely different material on the Red channel, for example.
Since the Text 3D node does not include a material input, you can use the Replace Material to add material shaders to the text.
Replace Material 3D Node Inputs
The Replace Material node has two inputs: one for the 3D scene, object, or 3D text that contains the original material, and a material input for the new replacement material.
- SceneInput: The orange scene input accepts a 3D scene or 3D text that you want to replace the material.
- MaterialInput: The green material input accepts either a 2D image or a 3D material. If a 2D image is provided, it is used as a diffuse texture map for the basic material built into the node. If a 3D material is connected, then the basic material is disabled.
Replace Material 3D Setup
The Replace Material 3D node is inserted directly after the 3D object or scene whose material you want to replace. Below, it is used to replace the default material on a Text 3D node with a chrome shader.
Replace Material 3D Node Controls Tab
This checkbox enables the material replacement. This is not the same as the red switch in the upper-left corner of the Inspector. The red switch disables the tool altogether and passes the image on without any modification. The enable checkbox is limited to the effect part of the tool. Other parts, like scripts in the Settings tab, still process as normal.
- Replace Mode
The Replace Mode section offers four methods of replacing each RGBA channel:
- Keep: Prevents the channel from being replaced by the input material.
- Replace: Replaces the material for the corresponding color channel.
- Blend: Blends the materials together.
- Multiply: Multiplies the channels of both inputs.
- Limit by Object ID/Material ID
When enabled, a slider appears where the desired IDs can be set. Other objects keep their materials. If both options are enabled, an object must satisfy both conditions.
Replace Material 3D Node Material and Settings Tabs
The remaining controls for the Material and Settings tabs are common to many 3D nodes. These common controls are described in detail HERE
About the Author
Justin Robinson is a Certified DaVinci Resolve, Fusion & Fairlight instructor who is known for simplifying concepts and techniques for anyone looking to learn any aspect of the video post-production workflow. Justin is the founder of JayAreTV, a training and premade asset website offering affordable and accessible video post-production education. You can follow Justin on Twitter at @JayAreTV YouTube at JayAreTV or Facebook at MrJayAreTV