fix normal morph target

This commit is contained in:
Nick Fisher
2021-11-23 15:51:50 +08:00
parent bb13d82114
commit 7ae6d85878
34 changed files with 1445 additions and 511 deletions

View File

@@ -67,7 +67,7 @@ namespace gltfio {
MaterialInstance* materialInstance;
};
int numAttributes = 1; // just position for now - normals not working with indexing inside shader? byte offset seems not calculated correctly
int numAttributes = 2;
void addPrimitive(cgltf_mesh const *mesh, int primitiveIndex);