mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-07-27 00:19:03 +00:00
- upping WebGL KTX2 encoder/transcoder testbed so its max Memory64/WASM64 heap size is 15GB, so 4096x4096 textures can be encoded
Prebuilt versions of basis_encoder.js and basis_encoder.wasm are included in the build/ folder, and are sufficient for local demos. Note the encoder also includes the transcoder. To build the encoder yourself, first install emscripten (tutorial) and cmake (download). Then run:
cd webgl/encoder/build/
emcmake cmake ../
make