X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FPlanetSurface.hpp;h=94e201ece7e63760a890d4e50b39f2c30f1b49a3;hb=0734615e546059679f1827c35fe1928ffea2fc56;hp=b915283d2bdc6453fb8db5dc810d6ca8385f0578;hpb=e0180e01f4c659c97973f585fea5eb3344254ce0;p=blobs.git diff --git a/src/graphics/PlanetSurface.hpp b/src/graphics/PlanetSurface.hpp index b915283..94e201e 100644 --- a/src/graphics/PlanetSurface.hpp +++ b/src/graphics/PlanetSurface.hpp @@ -31,8 +31,8 @@ public: void SetV(const glm::mat4 &v) noexcept; void SetVP(const glm::mat4 &v, const glm::mat4 &p) noexcept; void SetMVP(const glm::mat4 &m, const glm::mat4 &v, const glm::mat4 &p) noexcept; - void SetNormal(const glm::vec3 &) 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; @@ -57,7 +57,7 @@ private: GLuint mv_handle; GLuint mvp_handle; GLuint sampler_handle; - GLuint normal_handle; + GLuint ambient_handle; GLuint num_lights_handle; GLuint light_handle[MAX_LIGHTS * 3];