mostly implemented skybox and fixed box verts

This commit is contained in:
devZoGok
2021-10-18 19:04:20 +03:00
parent fd09cbf762
commit 03f65e62f5
22 changed files with 227 additions and 106 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ namespace vb01{
vector<Mesh*> meshes=n->getMeshes();
for(Mesh *m : meshes){
Material *mat=m->getMaterial();
if(mat) mat->getShader()->setNumLights(numLights>0?numLights:1);
string str=to_string(numLights>0?numLights:1);
if(mat) mat->getShader()->editShader(false,'=',';',str);
}
}
}