PBR checkpoint
[opengl.git] / skybox.hpp
index 759ce7a2f484886a8302c446252eb9c83f4f7de5..0b523758a89f2c0d755e848975eb53f35c793c3f 100644 (file)
@@ -6,9 +6,11 @@
 #include <GL/glew.h>
 #include <glm/glm.hpp>
 #include "program.hpp"
+#include "image.hpp"
 class Skybox {
        public:
-               Skybox(const std::vector<std::string> faces);
+               // img must be HDR
+               Skybox(const Image img);
                void draw(glm::mat4 proj, glm::mat4 view) const;
                GLuint getTexture() const;
        private: