VisPro  1.0
Project of Visualisierung 2
BlinnPhongShader.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include "Shader.h"
8 #include "PointLight.h"
9 #include <vector>
10 #include <memory>
11 
14 class BlinnPhongShader : public Shader {
15 public:
23  BlinnPhongShader(glm::vec3 amb_col, glm::vec3 diff_col, glm::vec3 spec_col, float shin, float transp);
25 
29  virtual void setLighting(std::vector<std::shared_ptr<PointLight>> *allLights);
30 
31 private:
32  glm::vec3 ambient_color;
33  glm::vec3 diffuse_color;
34  glm::vec3 specular_color;
35  float shininess;
36  float transparency;
37 
38 };
virtual void setLighting(std::vector< std::shared_ptr< PointLight >> *allLights)
Definition: BlinnPhongShader.cpp:36
Shader base class file.
BlinnPhongShader(glm::vec3 amb_col, glm::vec3 diff_col, glm::vec3 spec_col, float shin, float transp)
Definition: BlinnPhongShader.cpp:7
Definition: Shader.h:18
Definition: BlinnPhongShader.h:14