X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FBlockLighting.hpp;h=9b3e8afcb72a56d19759965c711b451088e94e45;hb=e2355b50a0d31f675e16593299256334c2baa2c4;hp=321cf79bdb598bf8b54fb61854c24e39e206c156;hpb=1bc6f085c53cdeaa08e2c00e821d4e2e25cae1c8;p=blank.git diff --git a/src/graphics/BlockLighting.hpp b/src/graphics/BlockLighting.hpp index 321cf79..9b3e8af 100644 --- a/src/graphics/BlockLighting.hpp +++ b/src/graphics/BlockLighting.hpp @@ -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;