X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=material.hpp;h=7735f630206b1abf9c5f7a4ecfb03abee5eec154;hp=06cd2d044f6c3b43f97023bf4cff828b3b816bfc;hb=be8759aec179d6d7bed58732134673870c596b4f;hpb=85f8f7278f24fe73fef1a19174376b155319072f diff --git a/material.hpp b/material.hpp index 06cd2d0..7735f63 100644 --- a/material.hpp +++ b/material.hpp @@ -13,14 +13,15 @@ class Material { private: GLuint progId; aiColor4D ambient, diffuse, specular; - ai_real shininess; + ai_real shininess, reflectivity, refractiveIndex, opacity; struct Texture { Texture(const std::string &file); GLuint texId; }; - Texture *diffuseMap = nullptr; - Texture *specularMap = nullptr; - Texture *normalMap = nullptr; + Texture *albedo = nullptr; + Texture *normal = nullptr; + Texture *metallicRoughness = nullptr; + Texture *ambientOcclusion = nullptr; };