This is the code for the scene.vert in the chapter 15:
vec4 tmpTangent = bonesMatrices[boneIndex] * vec4(tangent, 0.0);
initTangent += weight * tmpTangent;
vec4 tmpBitangent = bonesMatrices[boneIndex] * vec4(bitangent, 0.0);
initTangent += weight * tmpBitangent; // this should be initBitangent += ... Right?
I believe the initTangent is being set twice, and it should be replacecd by initBitangent
...
Another question about the chapter (more a question than an issue, really):
has it been tested for animations in the gltf format?
I'm able to load the animation data, and logs for the nextFrame() calls return sucessfully, but the animation never plays.
Thanks in advance.