mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Improved mountain rock transition
This commit is contained in:
parent
693d59cc93
commit
f3adf6ab5f
@ -165,7 +165,7 @@ impl<'a> Sampler for ColumnGen<'a> {
|
||||
- marble * 24.0)
|
||||
/ 12.0,
|
||||
),
|
||||
(alt - CONFIG.sea_level - 0.2 * CONFIG.mountain_scale + marble * 48.0) / 100.0,
|
||||
(alt - CONFIG.sea_level - 0.3 * CONFIG.mountain_scale + marble * 128.0) / 100.0,
|
||||
),
|
||||
// Beach
|
||||
((alt - CONFIG.sea_level - 2.0) / 5.0).min(1.0 - river * 2.0),
|
||||
|
@ -283,7 +283,7 @@ impl SimChunk {
|
||||
.add(0.5)
|
||||
.min(1.0),
|
||||
)
|
||||
.powf(1.4)
|
||||
.powf(1.5)
|
||||
.add(0.1 * hill);
|
||||
|
||||
let chaos = chaos + chaos.mul(16.0).sin().mul(0.02);
|
||||
@ -296,7 +296,7 @@ impl SimChunk {
|
||||
|
||||
let alt_main = (gen_ctx.alt_nz.get((wposf.div(2_000.0)).into_array()) as f32)
|
||||
.abs()
|
||||
.powf(1.7);
|
||||
.powf(1.8);
|
||||
|
||||
let alt = CONFIG.sea_level
|
||||
+ alt_base
|
||||
|
Loading…
Reference in New Issue
Block a user