We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff0e2e1 commit ec77181Copy full SHA for ec77181
examples/jsm/exporters/USDZExporter.js
@@ -265,7 +265,7 @@ function buildMaterial( material ) {
265
266
parameters.push( `${ pad }color3f inputs:emissiveColor.connect = </Textures/Texture_${ material.emissiveMap.id }.outputs:rgb>` );
267
268
- } else {
+ } else if ( material.emissive.getHex() > 0 ) {
269
270
parameters.push( `${ pad }color3f inputs:emissiveColor = ${ buildColor( material.emissive ) }` );
271
0 commit comments