Преглед на файлове

add comment for texture transparency detection

takahiro преди 9 години
родител
ревизия
a1f61d3007
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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 ) {