Implements shadow shader

This commit is contained in:
Maximilian Giller 2022-11-17 17:07:18 +01:00
parent 53966ad869
commit 8fd79c04ab

View file

@ -8,5 +8,5 @@ Color SimpleShadowShader::shade(Scene const &scene, Ray const &ray) const {
// IMPLEMENT ME
// loop over all light sources to check for visibility and multiply "light
// strength" with this objects albedo (color)
return Color(0, 1, 0);
return this->objectColor;
}