More interesting hills

This commit is contained in:
Joshua Barretto 2019-08-23 15:12:27 +01:00
parent b5f649eb15
commit 4735d3d6da

View File

@ -175,8 +175,16 @@ impl<'a> Sampler for ColumnGen<'a> {
.small_nz .small_nz
.get((wposf_turb.div(150.0)).into_array()) as f32) .get((wposf_turb.div(150.0)).into_array()) as f32)
.abs() .abs()
.mul(chaos.max(0.15)) .mul(chaos.max(0.025))
.mul(64.0); .mul(64.0)
+ (sim
.gen_ctx
.small_nz
.get((wposf_turb.div(450.0)).into_array()) as f32)
.abs()
.mul(1.0 - chaos)
.mul(1.0 - humidity)
.mul(96.0);
let is_cliffs = sim_chunk.is_cliffs; let is_cliffs = sim_chunk.is_cliffs;
let near_cliffs = sim_chunk.near_cliffs; let near_cliffs = sim_chunk.near_cliffs;