Files
PhotonMF/phong_brdf.hpp

17 lines
467 B
C++
Raw Normal View History

2017-01-11 14:51:21 -04:00
#pragma once
#ifndef PHONG_BRDF_HPP
#define PHONG_BRDF_HPP
#include "brdf.hpp"
2017-01-12 13:38:42 -04:00
class PhongBRDF: public BRDF {
2017-01-11 14:51:21 -04:00
public:
PhongBRDF() { }
virtual ~PhongBRDF() { }
virtual vec3 diffuse(vec3 light_dir, vec3 surface_normal, Ray & incident_ray, vec3 intersection_point, vec3 light_diff_color) const;
virtual vec3 specular(vec3 light_dir, vec3 surface_normal, Ray & incident_ray, vec3 intersection_point, vec3 light_spec_color, float shininess) const;
2017-01-11 14:51:21 -04:00
};
#endif