2
0
Mr.doob 2 жил өмнө
parent
commit
be60454c5f

+ 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 );