aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-13 23:10:41 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-13 23:10:41 +0200
commitb0ad5ce8e2a8da4fd98510b15c0afb3a8e2c96f4 (patch)
treed4e4daafe0a27e31a2808fbbd4867b2def62872f /src
parentb2447393e423cde2611436de53c1985d6a1ca3c9 (diff)
downloadminetest-b0ad5ce8e2a8da4fd98510b15c0afb3a8e2c96f4.tar.gz
minetest-b0ad5ce8e2a8da4fd98510b15c0afb3a8e2c96f4.tar.bz2
minetest-b0ad5ce8e2a8da4fd98510b15c0afb3a8e2c96f4.zip
* slightly different values for 3d perlin noise
Diffstat (limited to 'src')
-rw-r--r--src/mapgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp
index b7e077f68..0fd2e4c82 100644
--- a/src/mapgen.cpp
+++ b/src/mapgen.cpp
@@ -903,8 +903,8 @@ NoiseParams get_cave_noise2_params(u64 seed)
NoiseParams get_ground_noise1_params(u64 seed)
{
- return NoiseParams(NOISE_PERLIN, seed+983240, 5,
- 0.60, 100.0, 30.0);
+ return NoiseParams(NOISE_PERLIN, seed+983240, 4,
+ 0.55, 80.0, 40.0);
}
NoiseParams get_ground_crumbleness_params(u64 seed)
@@ -939,7 +939,7 @@ bool val_is_ground(double ground_noise1_val, v3s16 p, u64 seed)
double f = 0.8 + noise2d_perlin(
0.5+(float)p.X/250, 0.5+(float)p.Z/250,
- seed+920381, 3, 0.5);
+ seed+920381, 3, 0.45);
if(f < 0.01)
f = 0.01;
else if(f >= 1.0)