cloudy-raytracer/shader/simpleshadowshader.h
2022-11-11 14:39:48 +01:00

19 lines
335 B
C++

#ifndef SIMPLESHADOWSHADER_H
#define SIMPLESHADOWSHADER_H
#include "shader/shader.h"
class SimpleShadowShader : public Shader {
public:
// Constructor
SimpleShadowShader(Color const &objectColor);
// Shader functions
Color shade(Scene const &scene, Ray const &ray) const override;
private:
Color objectColor;
};
#endif