]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/DirectionalLighting.hpp
tvec[234]<int> -> ivec[234]
[blank.git] / src / graphics / DirectionalLighting.hpp
index df89053cd7e342df9d6bfcfd8ef6197fa3decb92..e42d2cfa61e64f23b2b5f20e4451879a55b19030 100644 (file)
@@ -17,6 +17,7 @@ public:
        void Activate() noexcept;
 
        void SetLightDirection(const glm::vec3 &) noexcept;
+       void SetLightColor(const glm::vec3 &) noexcept;
 
        void SetFogDensity(float) noexcept;
 
@@ -33,11 +34,6 @@ public:
 private:
        Program program;
 
-       glm::vec3 light_direction;
-       glm::vec3 light_color;
-
-       float fog_density;
-
        glm::mat4 projection;
        glm::mat4 view;
        glm::mat4 vp;