Adjust scene-viewer
@@ -177,6 +177,8 @@ fn main() {
format,
)));
+ routine.lock().set_ambient_color(glam::Vec4::new(0.15, 0.15, 0.15, 1.0));
+
let routine_clone = Arc::clone(&routine);
let renderer_clone = Arc::clone(&renderer);
let _loaded_gltf = std::thread::spawn(move || {
@@ -242,9 +244,9 @@ fn main() {
let up = rotation.y_axis;
let side = -rotation.x_axis;
let velocity = if button_pressed(&scancode_status, platform::Scancodes::SHIFT) {
- 100.0
+ 50.0
} else {
- 1.0
+ 10.0
};
if button_pressed(&scancode_status, platform::Scancodes::W) {
camera_location += forward * velocity * delta_time.as_secs_f32();
