Multiple Materials Blending Sample
This material graph sample demonstrates how to blend multiple materials.
Two materials represented by the Material Reference nodes (enabling you to refer to any material used in your project) are connected to the PBR Material Mixer node that performs blending in accordance with a single-channel blending mask modulated as follows:
Blending mask data (Texture node) sampled by the Sample2D node is multiplied (Mul node) by the Intensity value provided by the Float Slider node (enabling you to adjust float values via the Parameters panel in the UnigineEditor). Via the xxx port adapter the result is passed to the contrast node which applies contrast correction with the Contrast value provided by another Float Slider node.
Finally, the output of the material mixer is passed to the Final Material node.