Explorar o código

add comment for texture transparency detection

takahiro %!s(int64=9) %!d(string=hai) anos
pai
achega
a1f61d3007
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/js/loaders/MMDLoader.js

+ 1 - 0
examples/js/loaders/MMDLoader.js

@@ -2200,6 +2200,7 @@ THREE.MMDLoader.prototype.createMesh = function ( model, texturePath, onProgress
 
 			if ( m.map !== null ) {
 
+				// Check if this part of the texture image the material uses requires transparency
 				function checkTextureTransparency ( m ) {
 
 					m.map.readyCallbacks.push( function ( t ) {