From 4dc53670f6e192819953236e66032ef2145d1558 Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Tue, 13 Apr 2021 14:58:21 -0400 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fd0571..6cbc930 100644 --- a/README.md +++ b/README.md @@ -118,10 +118,15 @@ To create a slightly higher quality ETC1S .basis file (one with better codebooks `basisu -comp_level 2 x.png` -In some rare images (ones with blue sky gradients come to bind), you may need to increase the ETC1S comp_level setting. This controls the amount of overall effort the encoder uses to optimize the codebooks (palettes) and compressed data stream. Higher comp_level's are significantly slower, and shouldn't be used unless necessary: +On some rare images (ones with blue sky gradients come to bind), you may need to increase the ETC1S `-comp_level` setting. This controls the amount of overall effort the encoder uses to optimize the ETC1S codebooks (palettes) and compressed data stream. Higher comp_level's are *significantly* slower, and shouldn't be used unless necessary: `basisu -ktx2 x.png -comp_level 5 -q 255` +Or try: +`basisu -ktx2 x.png -comp_level 5 -max_endpoints 16128 -max_selectors 16128` + +Note `-comp_level`'s 3-4 are almost as good as 5 and are a lot faster. + ### Unpacking .basis/.KTX2 files to .PNG/.KTX files You can either use the command line tool or [call the transcoder directly](https://github.com/BinomialLLC/basis_universal/wiki/How-to-Use-and-Configure-the-Transcoder) from JavaScript or C/C++ code to decompress .basis/.KTX2 files to GPU texture data or uncompressed images.