From 8ea832c090644467699fdadbacd8d58438db20bf Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 2 Aug 2014 15:23:22 -0700 Subject: [PATCH] Disable specular calculations for now. Just to simplify things while I'm figuring out the lighting model... --- src/scene.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scene.cc b/src/scene.cc index 2b1046b..6f8b8fc 100644 --- a/src/scene.cc +++ b/src/scene.cc @@ -298,6 +298,7 @@ Scene::trace_ray(const Ray &ray, * Specular lighting. (Reflections, etc.) */ +#if 0 Double specular_level = shape_material.GetSpecularIntensity(); const Color& specular_color = shape_material.GetSpecularColor(); @@ -322,6 +323,7 @@ Scene::trace_ray(const Ray &ray, // TODO: Mix in specular_color of material. out_color += specular_level * specular_color * reflection_color; +#endif return out_color; }