VisPro
1.0
Project of Visualisierung 2
|
#include <ZBufferShader.h>
Public Member Functions | |
ZBufferShader (glm::vec2 dim) | |
Public Member Functions inherited from Shader | |
Shader (const std::string &vertexShader, const std::string &fragmentShader) | |
Shader (const std::string &vertexShader, const std::string &geometryShader, const std::string &fragmentShader) | |
void | useShader () const |
virtual void | setLighting (std::vector< std::shared_ptr< PointLight >> *allLights) |
void | setCutawayDimension (glm::vec2 dim) |
virtual void | bindTexture (int unit) |
Additional Inherited Members | |
Public Attributes inherited from Shader | |
GLuint | programHandle |
Z buffer shader.
ZBufferShader::ZBufferShader | ( | glm::vec2 | dim | ) |
Constructor.
dim | screen dimension of z buffer |