diff --git a/src/render/light_aggregate.rs b/src/render/light_aggregate.rs index 83052e3..03d3fbf 100644 --- a/src/render/light_aggregate.rs +++ b/src/render/light_aggregate.rs @@ -4,9 +4,13 @@ use std::iter::Iterator; #[derive(Debug, PartialEq, Deserialize)] pub struct LightAggregate { + #[serde(default)] ambients: Vec, + #[serde(default)] directionals: Vec, + #[serde(default)] points: Vec, + #[serde(default)] spots: Vec, }