mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Better paths
This commit is contained in:
parent
216c2583fb
commit
53d5cada93
@ -134,16 +134,10 @@ impl<'a> Sampler for ColumnGen<'a> {
|
||||
.abs()
|
||||
.div(near_0.distance(near_1));
|
||||
|
||||
let alt = if dist_to_path < 15.0 {
|
||||
alt - 100.0
|
||||
let (alt, ground) = if dist_to_path < 5.0 {
|
||||
(alt - 1.5, Rgb::new(0.4, 0.25, 0.0))
|
||||
} else {
|
||||
alt
|
||||
};
|
||||
|
||||
let ground = if dist_to_path < 5.0 {
|
||||
Rgb::new(0.0, 0.0, 0.0)
|
||||
} else {
|
||||
ground
|
||||
(alt, ground)
|
||||
};
|
||||
|
||||
// Caves
|
||||
|
Loading…
Reference in New Issue
Block a user