Reduced tree density, shortened chunk load timeout

This commit is contained in:
Joshua Barretto 2019-06-05 19:00:17 +01:00
parent 76dca0b0cf
commit 732ba9ac02
2 changed files with 3 additions and 3 deletions

View File

@ -299,7 +299,7 @@ impl Client {
// If chunks are taking too long, assume they're no longer pending.
let now = Instant::now();
self.pending_chunks
.retain(|_, created| now.duration_since(*created) < Duration::from_secs(10));
.retain(|_, created| now.duration_since(*created) < Duration::from_secs(3));
}
// Send a ping to the server once every second

View File

@ -58,7 +58,7 @@ impl WorldSim {
warp_nz: BasicMulti::new().set_octaves(3).set_seed(seed + 8),
tree_nz: BasicMulti::new()
.set_octaves(12)
.set_persistence(0.9)
.set_persistence(0.75)
.set_seed(seed + 9),
cave_0_nz: SuperSimplex::new().set_seed(seed + 10),
cave_1_nz: SuperSimplex::new().set_seed(seed + 11),
@ -461,7 +461,7 @@ impl SimChunk {
.add(1.0)
.mul(0.5)
.mul(1.0 - chaos * 0.85)
.mul(1.25)
.mul(1.2)
.add(0.1)
.mul(if alt > SEA_LEVEL + 2.0 { 1.0 } else { 0.0 }),
}