animatable textures

This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent 6102373fbc
commit 89c25c5bd9
5 changed files with 51 additions and 7 deletions
+3 -1
View File
@@ -49,8 +49,10 @@ namespace vb01{
shader->setVec4(diffuseColor,"diffuseColor");
}
if(texturingEnabled){
for(Texture *t : diffuseMapTextures)
for(Texture *t : diffuseMapTextures){
t->update();
t->select();
}
for(Texture *t : normalMapTextures)
t->select();
for(Texture *t : specularMapTextures)