cloudy-raytracer/shader/simpleshadowshader.h

20 lines
335 B
C
Raw Permalink Normal View History

2022-11-11 14:39:48 +01:00
#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