VisPro
1.0
Project of Visualisierung 2
|
#include <QuadShader.h>
Public Member Functions | |
QuadShader (float z_near, float z_far, float angle, glm::vec2 texDim) | |
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 |
Quad buffer shader.
QuadShader::QuadShader | ( | float | z_near, |
float | z_far, | ||
float | angle, | ||
glm::vec2 | texDim | ||
) |
Constructor.
z_near | distance of near plane |
z_far | distance of near plane |
angle | drill angle of cutaway surface cones |
texDim | dimension of used texture in frame buffer object |