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 345e504 commit c52fef3Copy full SHA for c52fef3
examples/js/loaders/TDSLoader.js
@@ -272,6 +272,12 @@ THREE.TDSLoader.prototype = Object.assign( Object.create( THREE.Loader.prototype
272
material.shininess = shininess;
273
this.debugMessage( ' Shininess : ' + shininess );
274
275
+ } else if ( next === MAT_TRANSPARENCY ) {
276
+
277
+ var opacity = this.readWord( data );
278
+ material.opacity = opacity*0.01;
279
+ this.debugMessage( ' Opacity : ' + opacity );
280
+ material.transparent = opacity<100 ? true : false;
281
} else if ( next === MAT_TEXMAP ) {
282
283
this.debugMessage( ' ColorMap' );
0 commit comments