This node creates a linear composition between two masks. For each value, the value of the output mask is equal to the value of the first input mask multiplied by the first coefficient, plus the value of the second input mask multiplied by the second coefficient. The second input mask is scaled to fit the size of the first input mask. The third input mask corresponds to the coefficient of the manual blend.
To add a node, right-click in the Graph Editor and select Create Node > Mask Composition > Blend or use the keyboard shortcut NMBL (Node Mask BLend).
Double click on the node to open its parameters:
The blend option which indicates how the second mask is blended with the first mask using blending coefficient from 0 to 100.
When an optional third mask is connected, the value of this mask at each of its points is multiplied by the selected blending coefficient to obtain the final blending coefficient. For example, if a blending coefficient of 80 is selected and the optional mask contains values equal to 0.5, the final blending coefficient of 0.5 x 80 = 40 is achieved.
To edit the node, choose one of the following options from the drop-down list:
The same result is obtained as using the Copy option with a blending coefficient of 50.
At each point, the value of the output mask is equal to the value of the first mask multiplied by the Coefficient for mask 1 parameter, plus the value of the second mask multiplied by the Coefficient for mask 2 parameter.Â Â If the result is less than 0, the value 0 (black) is selected.Â If the result is greater than 1, the value 1 (white) is selected.
|Copy||The second mask is copied over the first mask.|
|Add||The output mask is the sum of both input masks.|
|Subtract||The output mask is the difference between the first mask and the second mask.|
|Average||The output mask is the average between the first mask and the second mask.|
|Min||For each value, the output mask is equal to the lowest input mask.|
|Max||For each value, the output mask is equal to the highest input mask.|
|Multiply||For each value, the value of the output mask is equal to the product of the values of the two masks multiplied.|
|Add Sub||If the value of the second mask is greater than or equal to 0.5, a result equivalent to that of the Add option is obtained. If the value of the second mask is less than 0.5, a result equivalent to that of the Subtract option is obtained.|
|Overlay||Combines the Multiply and Screen options.|
|Screen||The values of both masks are inverted, multiplied, and then inverted again.|
|Soft light||Creates a subtle lighter or darker result depending on the brightness of the first mask.|
|Divide||For each value, the value of the output mask is equal to the division of the values of the two masks.|
|Custom||Blends the terrains according to custom coefficients.|
|Coefficient for terrain 1||The coefficient by which the height of the first input terrain is multiplied.|
|Coefficient for terrain 2||The coefficient by which the height of the second input terrain is multiplied.|
Copyright © 2021 · All Rights Reserved · Wysilab