mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user