Add specular and normal mapping
[opengl.git] / material.hpp
index 968ea3651355780391fe6e897c973411b8181a44..c28bcb452fe6a16f70c072e79ac21bd1f4a5b92e 100644 (file)
@@ -19,6 +19,8 @@ class Material {
                        Texture(const std::string &path);
                        GLuint texId;
                };
-               Texture *texture = nullptr;
+               Texture *diffuseMap = nullptr;
+               Texture *specularMap = nullptr;
+               Texture *normalMap = nullptr;
 };