KTXLoadPlugin
Example — Source Code — API Reference
Adds support for loading .ktx (Khronos Texture files.
Note: This plugin only adds support for loading .ktx file, and not exporting them in the bundled .glb. Use .ktx2 files instead of .ktx files for better compression and performance.
typescript
import {KTXLoadPlugin} from 'threepipe'
viewer.addPluginSync(new KTXLoadPlugin())
const texture = await viewer.load('file.ktx')