Skip to content

Commit 4431a8f

Browse files
authored
Merge pull request #13633 from looeee/FBXLoader_follow_gltf_attribute_spec
FBXLoader: use Uint16BufferAttribute for skinIndex
2 parents 40cf507 + 3cff2e4 commit 4431a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/loaders/FBXLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@
11081108

11091109
if ( skeleton ) {
11101110

1111-
geo.addAttribute( 'skinIndex', new THREE.Float32BufferAttribute( weightsIndicesBuffer, 4 ) );
1111+
geo.addAttribute( 'skinIndex', new THREE.Uint16BufferAttribute( weightsIndicesBuffer, 4 ) );
11121112

11131113
geo.addAttribute( 'skinWeight', new THREE.Float32BufferAttribute( vertexWeightsBuffer, 4 ) );
11141114

0 commit comments

Comments
 (0)