]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/BlockLighting.hpp
fix Location for debug build
[blank.git] / src / graphics / BlockLighting.hpp
index 321cf79bdb598bf8b54fb61854c24e39e206c156..9b3e8afcb72a56d19759965c711b451088e94e45 100644 (file)
@@ -9,6 +9,8 @@
 
 namespace blank {
 
+class ArrayTexture;
+
 class BlockLighting {
 
 public:
@@ -16,6 +18,7 @@ public:
 
        void Activate() noexcept;
 
+       void SetTexture(ArrayTexture &) noexcept;
        void SetFogDensity(float) noexcept;
 
        void SetM(const glm::mat4 &m) noexcept;
@@ -37,6 +40,7 @@ private:
 
        GLuint mv_handle;
        GLuint mvp_handle;
+       GLuint sampler_handle;
        GLuint light_direction_handle;
        GLuint light_color_handle;
        GLuint fog_density_handle;