This node creates a linear composition between two terrains at locations defined by a mask.
To add a node, right-click in the Graph Editor and select Create Node > Terrain Composition > Composition using mask.
Double click on the node to open its parameters:
The principle of the Composition using masks node is as follows:
At each vertex:
Both input terrains and the input mask can have different sizes and resolutions. The size and resolution of the output terrain are determined by those of the first terrain and the second terrain and the mask.
Set the coefficients for the first and second terrain in the parameters dialog and see how the terrain changes.
- When both coefficients are equal to 1, the result
is identical to that produced by the Add node.
- When the first coefficient is equal to 1 and the second is equal
to -1, the result is identical to that produced by the Subtract node.
- When both coefficients are equal to 0.5, the result is identical
to that produced by the Average node.
Watch our Composition using mask nodes video tutorial, which explains how both the Composition using mask node and the Full composition using mask node work.
Parameter | Use |
---|---|
Coefficient for the first terrain | The coefficient by which the height of the first input terrain is multiplied |
Coefficient for the second terrain | The coefficient by which the height of the second input terrain is multiplied |
Copyright © 2021 · All Rights Reserved · Wysilab