|
@@ -165,6 +165,7 @@ Texture.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {
|
|
|
}
|
|
|
|
|
|
var output = {
|
|
|
+
|
|
|
metadata: {
|
|
|
version: 4.5,
|
|
|
type: 'Texture',
|
|
@@ -183,11 +184,13 @@ Texture.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {
|
|
|
|
|
|
wrap: [ this.wrapS, this.wrapT ],
|
|
|
|
|
|
+ format: this.format,
|
|
|
minFilter: this.minFilter,
|
|
|
magFilter: this.magFilter,
|
|
|
anisotropy: this.anisotropy,
|
|
|
|
|
|
flipY: this.flipY
|
|
|
+
|
|
|
};
|
|
|
|
|
|
if ( this.image !== undefined ) {
|