Mr.doob 2 éve
szülő
commit
be60454c5f
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      examples/jsm/exporters/GLTFExporter.js

+ 1 - 0
examples/jsm/exporters/GLTFExporter.js

@@ -1299,6 +1299,7 @@ class GLTFWriter {
 		// pbrMetallicRoughness.metallicRoughnessTexture
 		const metalnessMap = material.metalnessMap?.image ? material.metalnessMap : undefined;
 		const roughnessMap = material.roughnessMap?.image ? material.roughnessMap : undefined;
+
 		if ( metalnessMap || roughnessMap ) {
 
 			const metalRoughTexture = this.buildMetalRoughTexture( metalnessMap, roughnessMap );