错误信息:
[.WebGL-0x7feb0c1a0600]GL ERROR :GL_INVALID_OPERATION : glDrawArrays: attempt to access out of range vertices in attribute 0
原因:
let geometry = new THREE.BufferGeometry();
geometry.setAttribute('position', new THREE.BufferAttribute(typeArr.verticesT, 3));
geometry.setAttribute('uv', new THREE.BufferAttribute(typeArr.uv2T, 2));
geometry.setAttribute('uvtext', new THREE.BufferAttribute(typeArr.uv1T, 2));
更多错误参考