Box/Quad clone methods

Phong lighting shaders
using multi draw indirect rendering
This commit is contained in:
devZoGok
2026-06-26 09:40:46 +03:00
parent 02c0c3b3fc
commit cc59f9160c
22 changed files with 873 additions and 168 deletions
+3
View File
@@ -207,6 +207,9 @@ namespace vb01{
shapeKeys,
numShapeKeys
);
Root *root = Root::getSingleton();
root->initVertexDataOnGpu(meshData, root->getMeshVAO(), root->getMeshVBO(), root->getMeshEBO(), true);
Mesh *mesh = new Mesh(meshData);
return mesh;