This node smooths a terrain by replacing the height of a vertex by the average of the height of its neighbors. This average value and the initial value are blended.
To add a Smooth node, right-click in the Graph Editor and select Create Node > Terrain Transformation > Smooth.
Double click on the node to open its parameters:
To edit a Smooth node use the sliders:
For example, to smooth a terrain on its left edge, shown in the image on the left, a virtual inverted image is used.
The clamp mode can lead to a more or less visible line along the edge.
In this case, use Mirror mode to make this line disappear. The mirror mode generally gives better results in most cases.
The Clamp mode corresponds to the mode of previous versions of Instant Terra. When a project created by a previous version of Instant Terra is loaded, it uses Clamp mode. When a new node is created, it uses the Mirror mode by default.
Parameter | Use |
---|---|
Neighborhood | The size of the neighborhood to be taken into account |
Strength | The blend coefficient between the original value and the average of the neighbors |
Clamp mode | The smooth region is reduced so that it is not larger than the terrain |
Mirror mode | The smooth region maintains its size at all times |
Copyright © 2022 · All Rights Reserved · Wysilab