Implements shadow shader
This commit is contained in:
parent
53966ad869
commit
8fd79c04ab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue