diff --git a/rtchallenge/examples/eoc9.rs b/rtchallenge/examples/eoc9.rs index 217c5a8..192cf86 100644 --- a/rtchallenge/examples/eoc9.rs +++ b/rtchallenge/examples/eoc9.rs @@ -38,10 +38,8 @@ fn main() -> Result<()> { let light_color = WHITE; let light1 = PointLight::new(light_position, light_color); let light_position = Tuple::point(10., 10., -10.); - let light_color = Color::new(0.2, 0.2, 0.2); + let light_color = Color::new(0.6, 0.6, 0.6); let light2 = PointLight::new(light_position, light_color); - let light_position = Tuple::point(0., 10., -10.); - let light3 = PointLight::new(light_position, light_color); let mut camera = Camera::new(width, height, PI / 4.); let from = Tuple::point(0., 1.5, -5.); @@ -53,7 +51,7 @@ fn main() -> Result<()> { let mut floor = Shape::plane(); floor.material = Material { - color: Color::new(1., 0.9, 0.9), + color: Color::new(1., 0.2, 0.2), specular: 0., ..Material::default() };