Reflection
[opengl.git] / material.hpp
index c28bcb452fe6a16f70c072e79ac21bd1f4a5b92e..0fb6f5da615295f72c463a24f9a2b12c280769b0 100644 (file)
@@ -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;