浏览代码

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

See #8685
tschw 9 年之前
父节点
当前提交
7d37f68305
共有 1 个文件被更改,包括 5 次插入0 次删除
  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 );