|
@@ -94,6 +94,14 @@ class KTX2Loader extends Loader {
|
|
|| renderer.extensions.has( 'WEBKIT_WEBGL_compressed_texture_pvrtc' )
|
|
|| renderer.extensions.has( 'WEBKIT_WEBGL_compressed_texture_pvrtc' )
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+
|
|
|
|
+ if ( renderer.capabilities.isWebGL2 ) {
|
|
|
|
+
|
|
|
|
+ // https://github.com/mrdoob/three.js/pull/22928
|
|
|
|
+ this.workerConfig.etc1Supported = false;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
return this;
|
|
return this;
|
|
|
|
|
|
}
|
|
}
|