@@ -652,6 +652,7 @@ class ObjectLoader extends Loader {
}
if ( data.format !== undefined ) texture.format = data.format;
+ if ( data.internalFormat !== undefined ) texture.internalFormat = data.internalFormat;
if ( data.type !== undefined ) texture.type = data.type;
if ( data.encoding !== undefined ) texture.encoding = data.encoding;
@@ -177,6 +177,7 @@ class Texture extends EventDispatcher {
wrap: [ this.wrapS, this.wrapT ],
format: this.format,
+ internalFormat: this.internalFormat,
type: this.type,
encoding: this.encoding,