Explorar o código

GLTFLoader: Warn on unsupported texCoord override.

Don McCurdy %!s(int64=7) %!d(string=hai) anos
pai
achega
73160feba1
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      examples/js/loaders/GLTFLoader.js

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

@@ -605,6 +605,12 @@ THREE.GLTFLoader = ( function () {
 
 		}
 
+		if ( transform.texCoord !== undefined ) {
+
+			console.warn( 'THREE.GLTFLoader: Custom UV sets in "' + this.name + '" extension not yet supported.' );
+
+		}
+
 		texture.needsUpdate = true;
 
 		return texture;