animated textures

This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent c7940f7280
commit d52be66e3d
4 changed files with 84 additions and 37 deletions
+3 -3
View File
@@ -50,11 +50,11 @@ namespace vb01{
}
if(texturingEnabled){
for(Texture *t : diffuseMapTextures)
t->select();
t->update();
for(Texture *t : normalMapTextures)
t->select();
t->update();
for(Texture *t : specularMapTextures)
t->select();
t->update();
}
else {
shader->setVec4(diffuseColor,"diffuseColor");