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
- Uses KTX2Loader by three.js by three.js
License: MIT
Core Libraries
- cgl
- JS: ktx-parse.module.js
- JS: KTX2Loader.js
- JS: zstddec.module.js
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)