ソースを参照

remove UniformsUtils.*

aardgoose 8 年 前
コミット
51719f8dd1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/js/postprocessing/SavePass.js

+ 1 - 1
examples/js/postprocessing/SavePass.js

@@ -13,7 +13,7 @@ THREE.SavePass = function ( renderTarget ) {
 
 	this.textureID = "tDiffuse";
 
-	this.uniforms = THREE.UniformsUtils.clone( shader.uniforms );
+	this.uniforms = Object.assign( {}, shader.uniforms );
 
 	this.material = new THREE.ShaderMaterial( {