projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix stupid typo
[opengl.git]
/
material.cpp
diff --git
a/material.cpp
b/material.cpp
index a1d44beb6d07929865ee5309b6916f4ab109d951..00f98c21f2f87a02b7fba75085fae7c7b34fccd7 100644
(file)
--- a/
material.cpp
+++ b/
material.cpp
@@
-62,7
+62,7
@@
Material::Texture::Texture(const aiString fileName, const aiScene &scene) {
}
void Material::bind() const {
- if (a
mbientOcclusion
!= nullptr) {
+ if (a
lbedo
!= nullptr) {
glUniform1i(glGetUniformLocation(progId, "mat.albedoMap"), 0);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, albedo->texId);