diff --git a/env/default.tiff b/env/default.tiff index 27d885f..7277fd6 100644 Binary files a/env/default.tiff and b/env/default.tiff differ diff --git a/env/desert.tiff b/env/desert.tiff new file mode 100644 index 0000000..7b2b092 Binary files /dev/null and b/env/desert.tiff differ diff --git a/env/golden.tiff b/env/golden.tiff index c411b25..d02cd27 100644 Binary files a/env/golden.tiff and b/env/golden.tiff differ diff --git a/env/night.tiff b/env/night.tiff new file mode 100644 index 0000000..0a1399f Binary files /dev/null and b/env/night.tiff differ diff --git a/env/sunset.tiff b/env/sunset.tiff index 1587443..26c4442 100644 Binary files a/env/sunset.tiff and b/env/sunset.tiff differ diff --git a/env/vertical.tiff b/env/vertical.tiff new file mode 100644 index 0000000..6094497 Binary files /dev/null and b/env/vertical.tiff differ diff --git a/src/bin/environment.rs b/src/bin/environment.rs index e36f677..7b70e47 100644 --- a/src/bin/environment.rs +++ b/src/bin/environment.rs @@ -3,8 +3,19 @@ use glam::Vec3 as FVec3; use std::f32::consts::TAU; fn skylight(angle: f32) -> FVec3 { + // Default: let sky_color = FVec3::new(0.3, 0.7, 1.0); - let sun_color = FVec3::new(1.0, 1.0, 0.8) * 3.0; + let sun_color = FVec3::new(1.0, 1.0, 0.8) * 5.0; + // Night: + // let sky_color = FVec3::new(0.2, 0.15, 0.6) * 0.3; + // let sun_color = FVec3::new(1.0, 0.3, 0.1) * 0.0; + // Desert: + // let sky_color = FVec3::new(0.6, 0.7, 1.0); + // let sun_color = FVec3::new(1.0, 0.9, 0.4) * 4.0; + // Golden: + // let sky_color = FVec3::new(0.6, 0.5, 0.7); + // let sun_color = FVec3::new(1.0, 0.8, 0.2) * 4.0; + let sun_size = 0.3; let sun_angle = 1.0;