X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=material.hpp;h=074e8ae8117478afb454ec38a114e451ffa6506a;hp=c28bcb452fe6a16f70c072e79ac21bd1f4a5b92e;hb=3f58e3a13899a1b28ee7be6c0bf835670957aa6a;hpb=ba9c738e8660304aa0341eb44118e63502a4a009 diff --git a/material.hpp b/material.hpp index c28bcb4..074e8ae 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, refractiveIndex, opacity; struct Texture { - Texture(const std::string &path); + Texture(const std::string &file); GLuint texId; }; Texture *diffuseMap = nullptr;