|
@@ -207,12 +207,7 @@ MaterialLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
|
|
|
if ( json.map !== undefined ) material.map = getTexture( json.map );
|
|
|
if ( json.matcap !== undefined ) material.matcap = getTexture( json.matcap );
|
|
|
|
|
|
- if ( json.alphaMap !== undefined ) {
|
|
|
-
|
|
|
- material.alphaMap = getTexture( json.alphaMap );
|
|
|
- material.transparent = true;
|
|
|
-
|
|
|
- }
|
|
|
+ if ( json.alphaMap !== undefined ) material.alphaMap = getTexture( json.alphaMap );
|
|
|
|
|
|
if ( json.bumpMap !== undefined ) material.bumpMap = getTexture( json.bumpMap );
|
|
|
if ( json.bumpScale !== undefined ) material.bumpScale = json.bumpScale;
|