|
@@ -464,9 +464,9 @@ THREE.MTLLoader.MaterialCreator.prototype = {
|
|
|
|
|
|
if ( this.options && this.options.invertTrProperty ) n = 1 - n;
|
|
if ( this.options && this.options.invertTrProperty ) n = 1 - n;
|
|
|
|
|
|
- if ( n < 1 ) {
|
|
|
|
|
|
+ if ( n > 0 ) {
|
|
|
|
|
|
- params.opacity = n;
|
|
|
|
|
|
+ params.opacity = 1 - n;
|
|
params.transparent = true;
|
|
params.transparent = true;
|
|
|
|
|
|
}
|
|
}
|