projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add glTF PBR model loading
[opengl.git]
/
material.hpp
diff --git
a/material.hpp
b/material.hpp
index 074e8ae8117478afb454ec38a114e451ffa6506a..7735f630206b1abf9c5f7a4ecfb03abee5eec154 100644
(file)
--- a/
material.hpp
+++ b/
material.hpp
@@
-19,8
+19,9
@@
class Material {
Texture(const std::string &file);
GLuint texId;
};
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;
};
};