X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FBlockLighting.hpp;h=d0d4ea4997f12283576eec354862cf9440b8baf3;hb=1b3b7203d0db35236108869961c77eaf31881d4b;hp=321cf79bdb598bf8b54fb61854c24e39e206c156;hpb=1bc6f085c53cdeaa08e2c00e821d4e2e25cae1c8;p=blank.git diff --git a/src/graphics/BlockLighting.hpp b/src/graphics/BlockLighting.hpp index 321cf79..d0d4ea4 100644 --- a/src/graphics/BlockLighting.hpp +++ b/src/graphics/BlockLighting.hpp @@ -1,14 +1,16 @@ #ifndef BLANK_GRAPHICS_BLOCKLIGHTING_HPP_ #define BLANK_GRAPHICS_BLOCKLIGHTING_HPP_ +#include "glm.hpp" #include "Program.hpp" #include -#include 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;