The Road node levels a terrain from a mask to form roads.
The terrain is deformed to ensure horizontality on the strip of terrain defined by the input mask. You can play with the width of the road, the width of the shoulders (transition zone between the positioning of the road and the original terrain), and the intensity of the earth-moving (deformation of the terrain at road level to flatten it more or less).
Below is an example with narrow shoulders and little earth-moving.
Below is an example with wider shoulders and more earth-moving.
The input connectors link to:
Important: The quality of the road layout depends greatly on the mask provided as an input. It is strongly recommended to use masks with the thinnest possible width, preferably with a width of 1 vertex, to guarantee the horizontality of the road section. You can then widen the road using the Width parameter of the Road section.
The output connectors link to:
See also the Colored road node. This node allows you to directly color the roads in the terrain.
To add a Road node, right-click in the Graph Editor and select Create Node > Terrain Composition > Road or press the keyboard shortcut N-R-O (Node ROad).
Select the node to open its parameters:
To edit the Road node, adjust the following parameters:
See also the Use case - Roads sample.
|Width||Sets the width of the road section.|
|Shoulder||Sets the width of the transition area between the road layout and the original terrain.|
|Earth-moving||Sets the intensity of the deformation of the terrain to flatten the road more or less.|
Copyright © 2022 · All Rights Reserved · Wysilab