Comment about lambert shading

This commit is contained in:
Eryn Wells 2013-09-21 17:06:49 -07:00
parent daeb052003
commit d5f640871c

View file

@ -256,6 +256,9 @@ Scene::trace_ray(const Ray &ray,
}
}
/*
* Compute basic Lambert diffuse shading for this object.
*/
out_color += shape_color * ( ambient_level * ambient->compute_color_contribution()
+ diffuse_level * ldotn);
}