readable models via the new reader (verts, faces, bones...)

This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent 34f1f6293a
commit dba02e7944
13 changed files with 62 additions and 460 deletions
+2
View File
@@ -175,6 +175,8 @@ namespace vb01{
shader->setMat4(model,"model");
if(skeleton){
skeleton->update();
shader->editShader(Shader::VERTEX_SHADER,2,"const int numBones="+to_string(skeleton->getNumBones())+";");
shader->editShader(Shader::VERTEX_SHADER,3,"const int numVertGroups="+to_string(numVertexGroups)+";");