mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Restructured mountain profile
This commit is contained in:
parent
c6e24b593e
commit
71f4704502
@ -374,6 +374,7 @@ impl SimChunk {
|
|||||||
.mul(
|
.mul(
|
||||||
(gen_ctx.chaos_nz.get((wposf.div(6_000.0)).into_array()) as f32)
|
(gen_ctx.chaos_nz.get((wposf.div(6_000.0)).into_array()) as f32)
|
||||||
.abs()
|
.abs()
|
||||||
|
.max(0.25)
|
||||||
.min(1.0),
|
.min(1.0),
|
||||||
)
|
)
|
||||||
.add(0.15 * hill)
|
.add(0.15 * hill)
|
||||||
@ -383,7 +384,8 @@ impl SimChunk {
|
|||||||
.mul(12.0)
|
.mul(12.0)
|
||||||
.max(0.35)
|
.max(0.35)
|
||||||
.min(1.0),
|
.min(1.0),
|
||||||
);
|
)
|
||||||
|
.max(0.15);
|
||||||
|
|
||||||
let alt_base = gen_ctx.alt_nz.get((wposf.div(6_000.0)).into_array()) as f32;
|
let alt_base = gen_ctx.alt_nz.get((wposf.div(6_000.0)).into_array()) as f32;
|
||||||
let alt_base = alt_base
|
let alt_base = alt_base
|
||||||
|
Loading…
Reference in New Issue
Block a user