Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit f7ea7a4

Browse files
Update experimental GLTF Viewer with WebGPU
1 parent 1aedaef commit f7ea7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viewers/templates/GLTF WebGPU.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@
18251825
URL.revokeObjectURL( fii );
18261826
});
18271827
} else if (fn_uc.endsWith('.KTX2')) {
1828-
const { decompress } = await import( 'three/addons/utils/WebGLTextureUtils.min.js' );
1828+
const { decompress } = await import( 'three/addons/utils/WebGPUTextureUtils.min.js' );
18291829

18301830
ktx2_loader.load( URL.createObjectURL( fii ), async function( texture ) {
18311831
URL.revokeObjectURL( fii );

0 commit comments

Comments
 (0)