Browse Source

Updated builds.

Mr.doob 11 years ago
parent
commit
b8d9539f38
2 changed files with 5 additions and 1 deletions
  1. 5 1
      build/three.js
  2. 0 0
      build/three.min.js

+ 5 - 1
build/three.js

@@ -17858,6 +17858,8 @@ THREE.ShaderChunk = {
 
 			"mat4 boneMatX = getBoneMatrix( skinIndex.x );",
 			"mat4 boneMatY = getBoneMatrix( skinIndex.y );",
+			"mat4 boneMatZ = getBoneMatrix( skinIndex.z );",
+			"mat4 boneMatW = getBoneMatrix( skinIndex.w );",
 
 		"#endif"
 
@@ -17878,7 +17880,9 @@ THREE.ShaderChunk = {
 			"#endif",
 
 			"vec4 skinned  = boneMatX * skinVertex * skinWeight.x;",
-			"skinned 	  += boneMatY * skinVertex * skinWeight.y;",
+			"skinned      += boneMatY * skinVertex * skinWeight.y;",
+			"skinned      += boneMatZ * skinVertex * skinWeight.z;",
+			"skinned      += boneMatW * skinVertex * skinWeight.w;",
 
 		"#endif"
 

File diff suppressed because it is too large
+ 0 - 0
build/three.min.js


Some files were not shown because too many files changed in this diff