mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added dead trees to LoD
This commit is contained in:
parent
e6ed8805e4
commit
873d3fb7a4
BIN
assets/voxygen/lod/dead.obj
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/lod/dead.obj
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -18,6 +18,7 @@ bitflags::bitflags! {
|
||||
pub enum ObjectKind {
|
||||
Oak,
|
||||
Pine,
|
||||
Dead,
|
||||
House,
|
||||
GiantTree,
|
||||
}
|
||||
|
@ -65,6 +65,7 @@ impl Lod {
|
||||
object_data: [
|
||||
(lod::ObjectKind::Oak, make_lod_object("oak", renderer)),
|
||||
(lod::ObjectKind::Pine, make_lod_object("pine", renderer)),
|
||||
(lod::ObjectKind::Dead, make_lod_object("dead", renderer)),
|
||||
(lod::ObjectKind::House, make_lod_object("house", renderer)),
|
||||
(
|
||||
lod::ObjectKind::GiantTree,
|
||||
@ -124,6 +125,7 @@ impl Lod {
|
||||
let color = match object.kind {
|
||||
lod::ObjectKind::Pine => Rgb::new(0, 25, 12),
|
||||
lod::ObjectKind::Oak => Rgb::new(10, 50, 5),
|
||||
lod::ObjectKind::Dead => Rgb::new(20, 10, 2),
|
||||
lod::ObjectKind::House => Rgb::new(20, 15, 0),
|
||||
lod::ObjectKind::GiantTree => Rgb::new(8, 35, 5),
|
||||
};
|
||||
|
@ -491,6 +491,7 @@ impl World {
|
||||
Some(lod::Object {
|
||||
kind: match tree.forest_kind {
|
||||
all::ForestKind::Oak => lod::ObjectKind::Oak,
|
||||
all::ForestKind::Dead => lod::ObjectKind::Dead,
|
||||
all::ForestKind::Pine
|
||||
| all::ForestKind::Frostpine
|
||||
| all::ForestKind::Redwood => lod::ObjectKind::Pine,
|
||||
|
Loading…
Reference in New Issue
Block a user