1 #ifndef PHONGSHADER_HXX
2 #define PHONGSHADER_HXX
6 class PhongShader : public Shader
9 PhongShader(Scene* scene,
10 const Vec3f& ambient_color,
11 const Vec3f& diffuse_color,
12 const Vec3f& specular_color,
17 virtual ~PhongShader();
19 virtual Vec3f Shade(Ray& ray);
23 Vec3f m_ambient_color, m_diffuse_color, m_specular_color;
24 float m_ka, m_kd, m_ks, m_ke;