Ver código fonte

Updated builds.

Mr.doob 7 anos atrás
pai
commit
623cb13464
3 arquivos alterados com 36 adições e 247 exclusões
  1. 7 0
      build/three.js
  2. 22 247
      build/three.min.js
  3. 7 0
      build/three.module.js

+ 7 - 0
build/three.js

@@ -14527,6 +14527,7 @@
 		};
 
 		this.index0AttributeName = undefined;
+		this.uniformsNeedUpdate = false;
 
 		if ( parameters !== undefined ) {
 
@@ -22772,6 +22773,12 @@
 
 			}
 
+			if ( material.isShaderMaterial && material.uniformsNeedUpdate === true ) {
+
+				WebGLUniforms.upload( _gl, materialProperties.uniformsList, m_uniforms, _this );
+				material.uniformsNeedUpdate = false;
+
+			}
 
 			// common matrices
 

Diferenças do arquivo suprimidas por serem muito extensas
+ 22 - 247
build/three.min.js


+ 7 - 0
build/three.module.js

@@ -14521,6 +14521,7 @@ function ShaderMaterial( parameters ) {
 	};
 
 	this.index0AttributeName = undefined;
+	this.uniformsNeedUpdate = false;
 
 	if ( parameters !== undefined ) {
 
@@ -22766,6 +22767,12 @@ function WebGLRenderer( parameters ) {
 
 		}
 
+		if ( material.isShaderMaterial && material.uniformsNeedUpdate === true ) {
+
+			WebGLUniforms.upload( _gl, materialProperties.uniformsList, m_uniforms, _this );
+			material.uniformsNeedUpdate = false;
+
+		}
 
 		// common matrices
 

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff