mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
readable models via the new reader (verts, faces, bones...)
This commit is contained in:
@@ -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)+";");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user