smooth_landscape_in_box
Soften terrain by applying a 3x3 box blur to heightmap vertices inside a world-space box over 1-5 iterations. Blends hard rims left by flattening or height-setting without adding relief.
Instructions
Soften terrain: run a 3x3 box blur over the heightmap inside a world-space box, 1 to 5 iterations. The finisher for the other two sculpt tools -- flatten_landscape_in_box and set_landscape_height_in_box leave a hard rim, and a couple of iterations here blends it. It only averages what is there; it cannot add relief.
Returns: { landscape_actor_name: string, iterations: int, applied: bool, vertices_smoothed: int, region_width: int, region_height: int, region: [int] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center | No | Optional [x, y, z] box center (alternative to box_min/box_max) | |
| extent | No | Optional [x, y, z] box half-extents (alternative to box_min/box_max) | |
| box_max | No | Optional [x, y, z] world-space box maximum | |
| box_min | No | Optional [x, y, z] world-space box minimum | |
| iterations | No | Number of smoothing iterations 1 to 5 | |
| landscape_actor_name | No | Optional landscape actor name, defaults to first found |