mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
mostly implemented skybox and fixed box verts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user