cloudy-raytracer/shader/lambertshader.h
2022-11-25 14:58:29 +01:00

19 lines
336 B
C++

#ifndef LAMBERTSHADER_H
#define LAMBERTSHADER_H
#include "shader/shader.h"
class LambertShader : public Shader {
public:
// Constructor
LambertShader(Color const &diffuseColor = Color(1, 1, 1));
// Shader functions
Color shade(Scene const &scene, Ray const &ray) const override;
protected:
Color diffuseColor;
};
#endif