Final project!
[opengl.git] / material.hpp
index 968ea3651355780391fe6e897c973411b8181a44..7735f630206b1abf9c5f7a4ecfb03abee5eec154 100644 (file)
@@ -12,13 +12,16 @@ 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 *texture = nullptr;
+               Texture *albedo = nullptr;
+               Texture *normal = nullptr;
+               Texture *metallicRoughness = nullptr;
+               Texture *ambientOcclusion = nullptr;
 };