mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-22 10:24:31 +00:00
Added -x option to the script to exclude files, then used it to exclude the large BC7 mode 6 tables. Added mipmap transcoding to the example for completeness.
Single File Basis Universal Examples
The examples #include the generated basisutranslib.cpp directly but work equally as well when including basisu_transcoder.h and compiling the amalgamated source separately.
emscripten.cpp is a bare-bones Emscripten compiled WebGL demo picking the best transcoder format for the sample texture (see the original PNG image).
The example files in this directory are released under a Creative Commons Zero license.