KtxCompression_v2 Op
Load a KTX file as a texture
Load a KTX file as a texture
Summary (oneliner)
Port of the KTX2Loader class of three.js
https://github.com/mrdoob/three.js/blob/dev/examples/jsm/loaders/KTX2Loader.js
Use toktx to generate textures, e.g.:
toktx --2d --genmipmap --target_type RGBA --t2 --encode uastc --clevel 5 --qlevel 255 --lower_left_maps_to_s0t0 --assign_oetf linear lala.ktx2 cables_2026224_095303.png
Full Name
Core Libraries
- Ops.Gl.GLTF.KtxCompression_v2
- Core Op - visible for everyone
- MIT
- Jun 3, 2026 at 18:29
Core Libraries
- cgl
- ktx-parse.module.js (module)
- KTX2Loader.js (module)
- zstddec.module.js (module)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
OUTPUT PORTS
Support ASTC (booleanNumber)
Support ETC1 (booleanNumber)
Support S3TC (booleanNumber)
Support BPTC (booleanNumber)
Support PVRTC (booleanNumber)
Support ASTC HDR (booleanNumber)