提交 620ac495 编写于 作者: M Mugen87

WebGLRenderer: Fix first time skin render

上级 6e322c1d
......@@ -1781,6 +1781,7 @@ function WebGLRenderer( parameters ) {
boneMatrices.set( skeleton.boneMatrices ); // copy current values
var boneTexture = new DataTexture( boneMatrices, size, size, RGBAFormat, FloatType );
boneTexture.needsUpdate = true;
skeleton.boneMatrices = boneMatrices;
skeleton.boneTexture = boneTexture;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册