跳转到内容

erodeHeightfield

此内容尚不支持你的语言。

erodeHeightfield(field, p): Eroded

Defined in: sdk/src/terrain/heightfield.ts:158

Hydraulic erosion: drops of rain fall at random over the field, each runs downhill carrying what it can for its speed and the water in it, cuts the ground where it carries less than it could, lays it down where it carries more or slows (in a hollow, on a flat, as it dries), and evaporates as it goes. What is left has gullies down the slopes, sharper ridges between them and silt in the valleys, and where the water ran is kept as flow. The same seed wears the same ground everywhere.

Heightfield

ErosionParams

Eroded