Quellcode durchsuchen

add comment for texture transparency detection

takahiro vor 9 Jahren
Ursprung
Commit
a1f61d3007
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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 ) {