X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;ds=inline;f=material.hpp;h=0fb6f5da615295f72c463a24f9a2b12c280769b0;hb=8abaf8f77191e1c660def0832d8036a8b4639ba8;hp=c28bcb452fe6a16f70c072e79ac21bd1f4a5b92e;hpb=ba9c738e8660304aa0341eb44118e63502a4a009;p=opengl.git diff --git a/material.hpp b/material.hpp index c28bcb4..0fb6f5d 100644 --- a/material.hpp +++ b/material.hpp @@ -12,11 +12,11 @@ class Material { void bind() const; private: GLuint progId; - aiColor3D ambient, diffuse, specular; - ai_real shininess; + aiColor4D ambient, diffuse, specular; + ai_real shininess, reflectivity; struct Texture { - Texture(const std::string &path); + Texture(const std::string &file); GLuint texId; }; Texture *diffuseMap = nullptr;