mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
Update README.md
This commit is contained in:
@@ -6,6 +6,8 @@ Requires WebAssembly and WebGL support.
|
||||
|
||||
[Live demo: `texture/index.html`](https://basis-universal-webgl.now.sh/texture/)
|
||||
|
||||
(Note the Live texture demo hasn't been updated to the latest release yet.)
|
||||
|
||||
Renders a single texture, using the transcoder (compiled to WASM with emscripten) to generate one of the following compressed texture formats:
|
||||
|
||||
* ASTC
|
||||
@@ -14,8 +16,6 @@ Renders a single texture, using the transcoder (compiled to WASM with emscripten
|
||||
* ETC1 (no alpha)
|
||||
* PVRTC
|
||||
|
||||
Please note that both Firefox and Chrome support BC1, but due to an implementation issue in the code it doesn't work on Firefox yet. (It doesn't test for the "WEBGL_compressed_texture_s3tc" extension.)
|
||||
|
||||
On browsers that don't support any compressed texture format, there's a low-quality fallback code path for opaque textures. Note that the fallback path only converts to 16-bit RGB images at the moment, so the quality isn't as good as it should be.
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user