Explorar o código

Merge pull request #13801 from Mugen87/dev4

ColladaLoader: Removed usage of alpha maps.
Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
566d7849bb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      examples/js/loaders/ColladaLoader.js

+ 2 - 1
examples/js/loaders/ColladaLoader.js

@@ -1574,7 +1574,8 @@ THREE.ColladaLoader.prototype = {
 
 				if ( transparent.data.texture ) {
 
-					material.alphaMap = getTexture( transparent.data.texture );
+					// we do not set an alpha map (see #13792)
+
 					material.transparent = true;
 
 				} else {