mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
small bugfixes
This commit is contained in:
@@ -61,6 +61,12 @@ namespace vb01{
|
||||
shader->setVec4(diffuseColor,"diffuseColor");
|
||||
}
|
||||
if(texturingEnabled){
|
||||
shader->setInt(0,"diffuseMap");
|
||||
shader->setInt(1,"normalMap");
|
||||
shader->setInt(2,"specularMap");
|
||||
shader->setInt(3,"parallaxMap");
|
||||
shader->setInt(4,"environmentMap");
|
||||
|
||||
for(Texture *t : diffuseMapTextures)
|
||||
t->update(0);
|
||||
for(Texture *t : normalMapTextures)
|
||||
|
||||
Reference in New Issue
Block a user