diff --git a/assignment-1b/src/scene/illumination.rs b/assignment-1b/src/scene/illumination.rs index 8f1786c..250a5eb 100644 --- a/assignment-1b/src/scene/illumination.rs +++ b/assignment-1b/src/scene/illumination.rs @@ -61,7 +61,7 @@ impl Scene { LightKind::Point { location } => { location - intersection_context.point } - LightKind::Directional { direction } => direction, + LightKind::Directional { direction } => -direction, } .normalize();