Преглед изворни кода

GLTFLoader: Set normalMap to RGBFormat too.

Mr.doob пре 6 година
родитељ
комит
5ac9d2683f
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      examples/js/loaders/GLTFLoader.js

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

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