MergeMat
Combine two shader nodes together, using compositing algorithms like none, replace, over, and stencil. The MergeMat node is particularly useful for combining multiple Project3D nodes, allowing you to composite 2D images projected onto the 3D geometry atop each other.
Inputs and Controls
Connection Type |
Connection Name |
Function |
Input |
A |
The the foreground material element to merge. |
B |
The the background material element to merge. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
MergeMat Tab |
|||
channels |
channels |
rgba |
The effect is only applied to these channels. You can use the checkboxes on the right to select individual channels. |
operation |
operation |
over |
Selects how you want to composite the results of the two shader nodes together: • none - only use input B in the composite. • replace - only use input A in the composite. • over - composite input A over input B using a mask. • stencil - use input B outside the mask area. • mask - use input B inside the mask area. • plus - add input B to input A. • max - use input A if it is greater than input B, otherwise use input B. • min - use input A if it is less than input B, otherwise use input B. |