SuzanneIsland: An island of Real-time rendering effects!
|
SkyboxEffect This is used to draw a skybox using a cubemap texture. More...
#include <skybox_effect.h>
Public Member Functions | |
SkyboxEffect (const std::vector< const GLchar *> &cubemapImgPaths) | |
void | drawSkybox (const glm::mat4 &viewMat, const glm::mat4 &projMat) |
SkyboxEffect This is used to draw a skybox using a cubemap texture.
SkyboxEffect::SkyboxEffect | ( | const std::vector< const GLchar *> & | cubemapImgPaths | ) |
SETUP SKYBOX CUBE VBO AND VAO
SETUP CUBEMAP AND SKYBOX SHADER uniforms are not assigned here since they might be updated each frame