소스 검색

Updated builds.

Mr.doob 7 년 전
부모
커밋
623cb13464
3개의 변경된 파일36개의 추가작업 그리고 247개의 파일을 삭제
  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
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.