瀏覽代碼

GLTFLoaer: Set emissiveMap to RGBFormat too.

Mr.doob 6 年之前
父節點
當前提交
73c091d6ba
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/js/loaders/GLTFLoader.js

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

@@ -2235,6 +2235,7 @@ THREE.GLTFLoader = ( function () {
 			switch ( mapName ) {
 
 				case 'aoMap':
+				case 'emissiveMap':
 				case 'roughnessMap':
 				case 'metalnessMap':
 					texture.format = THREE.RGBFormat;