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.
2 parents 4cb966e + 98743b5 commit 872dcb7Copy full SHA for 872dcb7
examples/js/exporters/ColladaExporter.js
@@ -359,6 +359,15 @@ THREE.ColladaExporter.prototype = {
359
360
type = 'constant';
361
362
+ if ( m.map !== null ) {
363
+
364
+ // The Collada spec does not support diffuse texture maps with the
365
+ // constant shader type.
366
+ // mrdoob/three.js#15469
367
+ console.warn( 'ColladaExporter: Texture maps not supported with MeshBasicMaterial.' );
368
369
+ }
370
371
}
372
373
var emissive = m.emissive ? m.emissive : new THREE.Color( 0, 0, 0 );
@@ -427,7 +436,7 @@ THREE.ColladaExporter.prototype = {
427
436
`<float sid="shininess">${ shininess }</float>`
428
437
) +
429
438
430
- '</shininess>'
439
+ '</shininess>'
431
440
: ''
432
441
433
442
0 commit comments