This node creates a mask from the slopes of a terrain. The mask created has the same size and resolution as the input terrain.
To add a Mask from slopes node, right-click in the Graph Editor and select Create Node > Mask Generation > Mask from slopes.
 
Double click on the node to open its parameters:
 
Two modes exist to edit the Mask from slopes node.
 
 
| Parameter | Use | 
|---|---|
| Gradient mode | The mask takes a gradient with values between 0 for the minimum slope angle up to 1 for the maximum slope angle | 
| Select mode | The mask is set to 1 for slopes between minimum slope angle and maximum slope angle; otherwise it is set to 0 | 
| Maximum slope angle | The maximum slope in degrees of the terrain | 
| Minimum slope angle | The minimum slope in degrees of the terrain | 
Copyright © 2021 · All Rights Reserved · Wysilab