X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FDirectionalLighting.hpp;h=42554014c51707b3dbd4d218cf68f001e8fb39f9;hb=afc50302943e4000a8621c23960d63b208c8a400;hp=e42d2cfa61e64f23b2b5f20e4451879a55b19030;hpb=1bc6f085c53cdeaa08e2c00e821d4e2e25cae1c8;p=blank.git diff --git a/src/graphics/DirectionalLighting.hpp b/src/graphics/DirectionalLighting.hpp index e42d2cf..4255401 100644 --- a/src/graphics/DirectionalLighting.hpp +++ b/src/graphics/DirectionalLighting.hpp @@ -9,6 +9,8 @@ namespace blank { +class ArrayTexture; + class DirectionalLighting { public: @@ -18,7 +20,9 @@ public: void SetLightDirection(const glm::vec3 &) noexcept; void SetLightColor(const glm::vec3 &) noexcept; + void SetAmbientColor(const glm::vec3 &) noexcept; + void SetTexture(ArrayTexture &) noexcept; void SetFogDensity(float) noexcept; void SetM(const glm::mat4 &m) noexcept; @@ -41,8 +45,10 @@ private: GLuint m_handle; GLuint mv_handle; GLuint mvp_handle; + GLuint sampler_handle; GLuint light_direction_handle; GLuint light_color_handle; + GLuint ambient_color_handle; GLuint fog_density_handle; };