still broken reflective eyelight shader, solution for assignment 2.2b
[MicroTrace.git] / ReflectiveEyeLightShader.hxx
1 #ifndef REFLECTIVEEYELIGHTSHADER_HXX
2 #define REFLECTIVEEYELIGHTSHADER_HXX
3
4 #include "EyeLightShader.hxx"
5
6 class ReflectiveEyeLightShader : public EyeLightShader
7 {
8 public:
9 ReflectiveEyeLightShader(Scene* scene, float reflectivity, const Vec3f& color = Vec3f(0.5,0.5,0.5));
10 virtual ~ReflectiveEyeLightShader();
11
12 virtual Vec3f Shade(Ray& ray);
13
14 protected:
15 float m_reflectivity;
16
17 private:
18 ReflectiveEyeLightShader();
19 };
20 #endif
This page took 0.044635 seconds and 5 git commands to generate.