FillMat

The FillMat node lets you replace selected material channels with a constant color. Typically, you would use this node to make one object hold out the others, similar to using a black Constant node as the input texture. However, the advantage of using the FillMat node is that you can easily apply it to the alpha channel in addition to the rgb channels and it doesn’t break the shading sequence, so you can insert it after other material nodes in your node tree.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The 2D image you’re using for the surface texture.

Control (UI)

Knob (Scripting)

Default Value

Function

FillMat Tab

channels

channels

rgba

The effect is only applied to these channels.

You can use the checkboxes on the right to select individual channels.

color

color

0

Adjusts the color used as the constant to replace the material.

Step-by-Step Guides

Replacing Material Channels with a Constant Color