Still not sure how to get rid of fog at startup...

main
Elijah C. Voigt 2 years ago
parent bd303af745
commit 8e2d4ab7af

@ -334,16 +334,9 @@ fn update_tweaks(
>,
tweaks_file: Res<tweak::GameTweaks>,
tweaks: Res<Assets<Tweaks>>,
// mut lights: Query<
// (
// Option<&mut SpotLight>,
// Option<&mut PointLight>,
// Option<&mut DirectionalLight>,
// ),
// Or<(With<SpotLight>, With<PointLight>, With<DirectionalLight>)>,
// >,
mut commands: Commands,
) {
warn!("Updating tweaks!");
if let Some(tweak) = tweaks.get(tweaks_file.handle.clone()) {
camera_settings.iter_mut().for_each(
|(entity, mut fog, mut color_grading, mut tonemapping, mut bloom)| {
@ -386,11 +379,6 @@ fn update_tweaks(
}
},
);
// lights
// .iter_mut()
// .for_each(|(mut spot, mut point, mut direction)| {
// // Depending on the light, set the scalar tweak
// });
}
}

@ -246,8 +246,8 @@ impl Board {
inner: vec![
vec![
Some(Queen),
None, // Some(Queen),
None, // Some(Drone),
Some(Queen),
Some(Drone),
None,
None,
None,
@ -255,20 +255,24 @@ impl Board {
None,
],
vec![
None, // Some(Queen),
None, // Some(Drone),
None, // Some(Pawn),
None, None, None, // Some(Pawn),
None, // Some(Pawn),
None, // Some(Drone),
Some(Queen),
Some(Drone),
Some(Pawn),
None,
None,
Some(Pawn),
Some(Pawn),
Some(Drone),
],
vec![
None, // Some(Drone),
None, // Some(Pawn),
None, // Some(Pawn),
None, None, None, // Some(Pawn),
None, // Some(Drone),
None, // Some(Queen),
Some(Drone),
Some(Pawn),
Some(Pawn),
None,
None,
Some(Pawn),
Some(Drone),
Some(Queen),
],
vec![
None,
@ -276,8 +280,8 @@ impl Board {
None,
None,
None,
None, // Some(Drone),
None, // Some(Queen),
Some(Drone),
Some(Queen),
Some(Queen),
],
],

Loading…
Cancel
Save