Forráskód Böngészése

Got 'boneMatrices' uniform upload under test. (#8714)

See #8685
tschw 9 éve
szülő
commit
7d37f68305
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      examples/webgl_skinning_simple.html

+ 5 - 0
examples/webgl_skinning_simple.html

@@ -71,6 +71,11 @@
 
 					skinnedMesh = new THREE.SkinnedMesh(geometry, new THREE.MultiMaterial(materials));
 					skinnedMesh.scale.set( 1, 1, 1 );
+
+					// Note: We test the corresponding code path with this example -
+					// you shouldn't include the next line into your own code:
+					skinnedMesh.skeleton.useVertexTexture = false;
+
 					scene.add( skinnedMesh );
 
 					mixer = new THREE.AnimationMixer( skinnedMesh );