Generates the maps of concavity and convexity. All of the bulges and cambers are regarded as convex and the hollows are regarded as concave. Note that output maps do not intersect: one pixel can not be convex and concave at the same time.
| Source height | Convex | Concave |
Input - the heightmap to be processed by the generator.
Mask - multiplies the generator intensity by the mask map’s value. For the mask pixels that have a value of 0 the generator effect is invisible, for the pixels that have a value of 1 the intensity is unchanged.
Mask, using the example of Blur Generator:
| Source heightmap | Mask map | Masking result |
Output - stores the bulging or hollow areas (depending on a cavity type) and adjustment pixels.
Intensity - the amount of influence of the generator on the input map. When the value is set to 0 the generator effect is not visible. In other words, it is the generator’s effective opacity.
Spread - since really curving terrain areas are rather rare, the Cavity Generator can expand resulting information on more level areas.
Spread: 1, 2.5, 5
Normalize Convex+Concave: ensures that all of the convex values combined with concave ones are always equal to 1. If this parameter is off only convex or concave map is calculated, its antipode is not taken into account. Turn it off to perform rude but faster calculations.
Safe Borders: masks terrain borders so that the generator effect on the borders is zero, and increases with distance from the border. This parameter sets the amount (in pixels) until the effect’s full strength. When set to 0 border masking is off. This parameter is essential for better terrain welding, so always enable it if this generator outputs to height.
Using the example of Blur Generator: Safe Borders: 0 (off), 20, 100
Note that turning Safe Borders off (setting it to 0) will result in seams between chunks.