The Colored road node levels a terrain from a mask to form roads. The road is colored according to the color map of the input terrain. If the terrain has no color map, a neutral color is used.
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 Colored road, the width of the shoulders (transition zone between the positioning of the Colored road and the original terrain), and the intensity of the earth-moving (deformation of the terrain at Colored 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 Colored 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 Colored road section. You can then widen the Colored road using the Width parameter of the Colored road section.
The output connectors link to:
See also the Road node. This node transforms the terrain to position roads.
To add a Colored road node, right-click in the Graph Editor and select Create Node > Terrain Composition > Colored road or press the keyboard shortcut N-C-L-R (Node CoLored Road).
Select the node to open its parameters:
To edit the Colored road node, adjust the following parameters:
See also the Use case - Roads sample.
Parameter | Use |
---|---|
Width | Sets the width of the Colored road section. |
Shoulder | Sets the width of the transition area between the Colored road layout and the original terrain. |
Earth-moving | Sets the intensity of the deformation of the terrain to flatten the Colored road more or less. |
Road color | Applies a color to the road. |
Copyright © 2022 · All Rights Reserved · Wysilab