提交 b9544bbe 编写于 作者: I Ian Kerr

Fixes const error in shader.

上级 308d0aee
......@@ -1260,8 +1260,8 @@ THREE.ShaderChunk = {
"float x = mod( j, float( boneTextureWidth ) );",
"float y = floor( j / float( boneTextureWidth ) );",
"const float dx = 1.0 / float( boneTextureWidth );",
"const float dy = 1.0 / float( boneTextureHeight );",
"float dx = 1.0 / float( boneTextureWidth );",
"float dy = 1.0 / float( boneTextureHeight );",
"y = dy * ( y + 0.5 );",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册