diff --git a/out.jpg b/out.jpg index 189ca52..aca662b 100644 Binary files a/out.jpg and b/out.jpg differ diff --git a/tinyraytracer.cpp b/tinyraytracer.cpp index 44db6bb..e719929 100644 --- a/tinyraytracer.cpp +++ b/tinyraytracer.cpp @@ -69,6 +69,13 @@ Vec3f cast_ray(const Vec3f &orig, const Vec3f &dir, const std::vector &s float diffuse_light_intensity = 0, specular_light_intensity = 0; for (size_t i=0; i