Also known as: Layout Generator
Draws vector-based shapes and layouts into your terrain, for features like roads, plateaus, craters, and architectural elements.
When to Use
- Roads and trenches: Path shapes with negative height create trenches or riverbeds; positive height creates raised roads or berms.
- Craters and hills: Circle shapes create craters or hills. Multiple shapes with different operations can layer to create complex features, for example a crater (subtract) with a rim (add).
- Custom areas: Polygon shapes can create complex custom areas like lake basins, city foundations, or clearings.
- Masks for other effects: The Shape Mask output is useful for selective processing: apply effects only where shapes exist.
How to Use
Add a Shapes device and draw shapes in its shape editor. Areas outside all shapes are set to the Background Height. Optionally connect a Terrain Input so the shapes can blend with or modify existing terrain.
- Add a Shapes device.
- Open the shape editor (usually via device interface or parameter panel).
- Add shapes using the shape palette – circles for craters, paths for roads, polygons for custom areas.
- Position and size each shape in the layout view.
- Adjust each shape’s Height and Falloff parameters.
- Choose appropriate Operation modes for each shape based on how it should combine with others.
- Enable Shape Breakup to add natural-looking irregularity to shape edges.
- Optionally connect a Terrain Input to blend shapes with existing terrain.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Terrain Input | Heightfield | Optional | When provided, shapes can blend with or modify the input terrain |
Outputs
| Port | Type | Description |
|---|---|---|
| Primary | Heightfield | The rendered layout shapes |
| Shape Mask | Heightfield | Binary mask of all shape areas |
Parameters
- Background Height: Elevation for areas outside all shapes. Default: 0.0. Range: 0.0 to 1.0.
- Invert Output: Reverses black and white in the output. Default: disabled.
- Soft Clipping: When enabled, smoothly clamps values that exceed 0-1 range instead of hard clipping. Default: disabled.
Shape Breakup (Advanced)
When enabled, applies fractal noise distortion to shape edges:
- Feature Scale: Size of the breakup noise features in meters. Default: 0.25m. Range: 0.0m to 4m.
- Roughness: Amount of detail in the breakup noise. Default: 0.5. Range: 0.0 to 0.9. Higher values create more complex, ragged edges.
- Amount: Intensity of the edge distortion. Default: 1.0. Range: 0.000625 to 4.0. Higher values create more pronounced breakup.
Shape Types
Shapes supports multiple shape types, each added through the shape editor interface:
Shape Operations
Each shape can use different blend operations:
- Over: Places the shape over previous content with optional blending.
- Max: Takes the maximum elevation between the shape and previous content.
- Sub: Subtracts the shape from previous content.
- Add: Adds the shape elevation to previous content.
Common Shape Parameters
Most shapes share these controls:
- Height: The elevation or intensity of the shape.
- Falloff: Distance over which the shape fades from full strength to zero at its edges.
- Operation: How the shape combines with previous content.
Specific Shape Types
- Polygon: Creates arbitrary polygonal shapes defined by vertices.
- Path: Creates roads, rivers, or trenches along a curved path with controllable width.
- Circle: Creates circular shapes like craters or hills.
- Rectangle: Creates rectangular plateaus or depressions.
- Interpolating Surface: Creates smooth surfaces that interpolate between control points.
- Group: Allows organizational grouping of shapes.
Tips and Tricks
- Use the Over operation with the Terrain Input connected to blend shapes smoothly into generated terrain.
- Adjust falloff distances carefully – small falloffs create sharp edges, large falloffs create gentle transitions.