From f51ea57463fe3231cb87ae6a228e570d8b026d82 Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Thu, 17 Dec 2020 14:43:29 -0500 Subject: [PATCH] Update README.md --- webgl/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webgl/README.md b/webgl/README.md index 4ad633b..af4a5e6 100644 --- a/webgl/README.md +++ b/webgl/README.md @@ -40,6 +40,10 @@ extension that is [currently in development](https://github.com/KhronosGroup/glT ![Screenshot showing a basis texture rendered as the base color texture for a 3D model in a webpage.](gltf/preview.png) +## Compressor (encode_test) + +This demo shows how to use the compressor from JavaScript. To use it, select a .PNG file, hit the "Encode!" button. The compressor will be invoked to dynamically generate a .basis file, which will be immediately transcoded. To download the generated .basis file, select the "Download!" button. To view the compressor's textual debug output, open your browser's developer debug console and enable the Debug checkbox before hitting the "Encode!" button. + ## Testing locally See [how to run things locally](https://threejs.org/docs/#manual/en/introduction/How-to-run-things-locally), or (with [Node.js](https://nodejs.org/en/) installed), run: