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