NodeIcon MergeVertexMask

Merges multiple masks VertexMask to a single mask by selected rule.


Editor

A MergeVertexMask node has an editor to preview resulted vertex mask.

Inputs

Base Mask

VertexMask Primary mask to merge

Additional Masks

VertexMask (multiple) Other masks to merge

Geometry

Geometry (optional) Geometry to display resulted vertex mask

Output

VertexMask Computed vertex mask

Parameters

Note

Output vertex mask values are clamped between 0 and 1 after computations above.

Mode:
Add

V0 + V1 * w1 + V2 * w2 + ...

Subtract

V0 - V1 * w1 - V2 * w2 + ...

Multiply

previously was called Intersect

V0 * (V1 * w1) * (V2 * w2) * ...

Min

min(V0, V1 * w1, V2 * w2, ...)

Max

min(V0, V1 * w1, V2 * w2, ...)

where

V0 is Base Mask, V1, V2, ... are Additional Masks and w1, w2, ... are Blends

Blends:

a set of numbers, by which each Additional Mask is multiplied before computation. Appears in the editor as you connect more masks. Each blend value is named as input node and can be adjusted individually. Can be scripted as a float array.