Browse Source

Updated builds.

Mr.doob 4 years ago
parent
commit
de04828508
3 changed files with 8 additions and 2 deletions
  1. 5 1
      build/three.js
  2. 0 0
      build/three.min.js
  3. 3 1
      build/three.module.js

+ 5 - 1
build/three.js

@@ -63,7 +63,7 @@
 		};
 	}
 
-	var REVISION = '124';
+	var REVISION = '125dev';
 	var MOUSE = {
 		LEFT: 0,
 		MIDDLE: 1,
@@ -15984,6 +15984,10 @@
 
 			_gl.pixelStorei(37440, texture.flipY);
 
+			_gl.pixelStorei(37441, texture.premultiplyAlpha);
+
+			_gl.pixelStorei(3317, texture.unpackAlignment);
+
 			var isCompressed = texture && (texture.isCompressedTexture || texture.image[0].isCompressedTexture);
 			var isDataTexture = texture.image[0] && texture.image[0].isDataTexture;
 			var cubeImage = [];

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


+ 3 - 1
build/three.module.js

@@ -1,5 +1,5 @@
 // threejs.org/license
-const REVISION = '124';
+const REVISION = '125dev';
 const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
 const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
 const CullFaceNone = 0;
@@ -21099,6 +21099,8 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 		state.bindTexture( 34067, textureProperties.__webglTexture );
 
 		_gl.pixelStorei( 37440, texture.flipY );
+		_gl.pixelStorei( 37441, texture.premultiplyAlpha );
+		_gl.pixelStorei( 3317, texture.unpackAlignment );
 
 		const isCompressed = ( texture && ( texture.isCompressedTexture || texture.image[ 0 ].isCompressedTexture ) );
 		const isDataTexture = ( texture.image[ 0 ] && texture.image[ 0 ].isDataTexture );

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