8 #include <GLFW/glfw3.h> 10 #include <glm/gtc/type_ptr.hpp> 11 #include <FreeImagePlus.h> 13 #include "../shader.h" 22 GLuint skyboxVAO, skyboxVBO;
24 Shader *skyboxShader =
nullptr;
28 SkyboxEffect(
const std::vector<const GLchar *> &cubemapImgPaths);
31 void drawSkybox(
const glm::mat4 &viewMat,
const glm::mat4 &projMat);
43 GLuint loadCubemap(
const std::vector<const GLchar *> &cubemapImgPaths);
Shader class.
Definition: shader.h:15
SkyboxEffect(const std::vector< const GLchar *> &cubemapImgPaths)
Definition: skybox_effect.cpp:50
SkyboxEffect This is used to draw a skybox using a cubemap texture.
Definition: skybox_effect.h:17