X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FDirectionalLighting.hpp;h=dd76f5e67ef11702495bfd3db62b1dc5be704dd4;hb=831183e2cbab7ebf42bf4cace86f7bf9db482ed1;hp=70492efc865f42f4597c3365717aacb3cd3b8ff9;hpb=7bb75960dbf9bfdee9ac865384aca81791b3da5c;p=blank.git diff --git a/src/graphics/DirectionalLighting.hpp b/src/graphics/DirectionalLighting.hpp index 70492ef..dd76f5e 100644 --- a/src/graphics/DirectionalLighting.hpp +++ b/src/graphics/DirectionalLighting.hpp @@ -1,10 +1,10 @@ #ifndef BLANK_GRAPHICS_DIRECTIONALLIGHTING_HPP_ #define BLANK_GRAPHICS_DIRECTIONALLIGHTING_HPP_ +#include "glm.hpp" #include "Program.hpp" #include -#include namespace blank { @@ -20,6 +20,7 @@ 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; @@ -47,6 +48,7 @@ private: GLuint sampler_handle; GLuint light_direction_handle; GLuint light_color_handle; + GLuint ambient_color_handle; GLuint fog_density_handle; };