12 #include "../Scene/PointLight.h" 25 Shader(
const std::string& vertexShader,
const std::string& fragmentShader);
31 Shader(
const std::string& vertexShader,
const std::string& geometryShader,
const std::string& fragmentShader);
41 virtual void setLighting(std::vector<std::shared_ptr<PointLight>> *allLights);
63 void loadShader(
const std::string& shader, GLenum shaderType, GLuint& handle);
69 void linkWithGeometryShader();
72 GLuint fragmentHandle;
73 GLuint geometryHandle;
virtual void bindTexture(int unit)
Definition: Shader.cpp:176
virtual void setLighting(std::vector< std::shared_ptr< PointLight >> *allLights)
Definition: Shader.cpp:162
GLuint programHandle
Definition: Shader.h:55
void setCutawayDimension(glm::vec2 dim)
Definition: Shader.cpp:166
void useShader() const
Definition: Shader.cpp:60
Shader(const std::string &vertexShader, const std::string &fragmentShader)
Definition: Shader.cpp:12