mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
This commit is contained in:
parent
d0be27415e
commit
92981b2fee
8 changed files with 629 additions and 3 deletions
|
@ -306,7 +306,6 @@ float noise3d_perlin_abs(float x, float y, float z, int seed,
|
|||
}
|
||||
|
||||
|
||||
// -1->0, 0->1, 1->0
|
||||
float contour(float v)
|
||||
{
|
||||
v = fabs(v);
|
||||
|
@ -653,3 +652,4 @@ void Noise::transformNoiseMap()
|
|||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue