implemented material texture changing

This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent d2b0f24b03
commit d9f9b0c282
7 changed files with 16 additions and 21 deletions
-1
View File
@@ -106,7 +106,6 @@ namespace vb01{
shader->setMat4(model,"model");
if(material->getType()==Material::MATERIAL_GUI){
shader->setVec2(Vector2((float)width,(float)height),"screen");
//shader->setBool(spatialToScreen,"spatialToScreen");
if(node)
shader->setVec3(pos,"pos");
}