FineTerrainOptions
Tuning for refineTerrain.
Defined in: fine.ts:26
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bladeHeight? | number | Tallest blade, in fine voxels (default 1.4k, at least 4). | fine.ts:30 |
grass? | number | Grass blades per grassy column, 0..1 (default 0.22). | fine.ts:28 |
seed? | number | Seeds the blade, pebble and boundary noise. | fine.ts:34 |
skin? | number | Ground kept below the lowest neighbouring surface, in fine voxels (default 6). | fine.ts:32 |
top? | TopOverride | The settlement's surface, used by fillBrick when a call passes no top of its own: a function of the coarse column or the same as data (TopOverride; data is what fineTerrainInit carries to a worker). | fine.ts:40 |
FineTerrainInit
Everything a FineTerrain is rebuilt from, as structured-clonable data: the coarse terrain, the factor and the options, with the top override as data. From fineTerrainInit, rebuilt by fineTerrainFrom. Transfer terrain.heights.buffer and options.top.buffer to skip the copies; the init holds copies...
RiverParams
The river: a channel along a slow noise contour, carving its own valley. Lengths in voxels.