X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fgraphics%2FCreatureSkin.hpp;fp=src%2Fgraphics%2FCreatureSkin.hpp;h=1dce8b532390ad0753262a42e2d0f1cb2a7edfff;hp=b61c108a9b973dc618483aabdfab79eb01357959;hb=0734615e546059679f1827c35fe1928ffea2fc56;hpb=cf31daa35ac163986158b6f95df06fd7b43f6e79 diff --git a/src/graphics/CreatureSkin.hpp b/src/graphics/CreatureSkin.hpp index b61c108..1dce8b5 100644 --- a/src/graphics/CreatureSkin.hpp +++ b/src/graphics/CreatureSkin.hpp @@ -34,6 +34,7 @@ public: void SetBaseColor(const glm::vec3 &) noexcept; void SetHighlightColor(const glm::vec4 &) noexcept; void SetTexture(ArrayTexture &) noexcept; + void SetAmbient(const glm::vec3 &) noexcept; void SetLight(int n, const glm::vec3 &pos, const glm::vec3 &color, float strength) noexcept; void SetNumLights(int n) noexcept; @@ -61,6 +62,7 @@ private: GLuint base_color_handle; GLuint highlight_color_handle; GLuint sampler_handle; + GLuint ambient_handle; GLuint num_lights_handle; GLuint light_handle[MAX_LIGHTS * 3];