eoc9: one less light, and brighter
This commit is contained in:
parent
b2dc0e9509
commit
41f3b63ad0
@ -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()
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user