浏览代码

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 ) {