mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
Update README.md
This commit is contained in:
@@ -16,7 +16,7 @@ To build the encoder and transcoder WASM libraries using [Emscripten](https://em
|
||||
|
||||
## KTX2 Compression, Transcoding, Display (ktx2_encode_test)
|
||||
|
||||
Live demo: [`ktx2_encode_test/index.html'](https://binomial.biz/ktx2_encode_test/)
|
||||
Live demo: [`ktx2_encode_test/index.html`](https://binomial.biz/ktx2_encode_test/)
|
||||
|
||||
This demo shows how to use the compressor and transcoder from JavaScript. To use it, select a .PNG file then hit the "Encode!" button. The compressor will dynamically generate a .ktx2 file in memory which will then be immediately transcoded and rendered as a quad with a WebGL pixel shader used to sample the texture using the GPU. Hit the "Download!" button to locally download the generated .ktx2 file. This sample allows the user to toggle on/off all GPU formats the local device supports and see the results in real-time.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user