Reflection
[opengl.git] / material.hpp
index 968ea3651355780391fe6e897c973411b8181a44..0fb6f5da615295f72c463a24f9a2b12c280769b0 100644 (file)
@@ -12,13 +12,15 @@ 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 *texture = nullptr;
+               Texture *diffuseMap = nullptr;
+               Texture *specularMap = nullptr;
+               Texture *normalMap = nullptr;
 };