From 76fa25921e40d83cb94ad80bd1ad8e0b528fa16e Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Thu, 9 Apr 2020 00:03:51 -0400 Subject: [PATCH] Fixing command line help text related to mipmap filtering & sRGB. --- basisu_tool.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/basisu_tool.cpp b/basisu_tool.cpp index 813d08b..fdca902 100644 --- a/basisu_tool.cpp +++ b/basisu_tool.cpp @@ -110,13 +110,14 @@ static void print_usage() "Mipmap generation options:\n" " -mipmap: Generate mipmaps for each source image\n" " -mip_srgb: Convert image to linear before filtering, then back to sRGB\n" - " -mip_linear: Keep image in linear light during mipmap filtering\n" + " -mip_linear: Keep image in linear light during mipmap filtering (i.e. do not convert to/from sRGB for filtering purposes)\n" " -mip_scale X: Set mipmap filter kernel's scale, lower=sharper, higher=more blurry, default is 1.0\n" " -mip_filter X: Set mipmap filter kernel, default is kaiser, filters: box, tent, bell, blackman, catmullrom, mitchell, etc.\n" " -mip_renorm: Renormalize normal map to unit length vectors after filtering\n" " -mip_clamp: Use clamp addressing on borders, instead of wrapping\n" " -mip_smallest X: Set smallest pixel dimension for generated mipmaps, default is 1 pixel\n" - "By default, mipmap filtering will occur in sRGB space (for the RGB color channels) unless -linear is specified. You can override this behavior with -mip_srgb/-mip_linear.\n" + "By default, textures will be converted from sRGB to linear light before mipmap filtering, then back to sRGB (for the RGB color channels) unless -linear is specified.\n" + "You can override this behavior with -mip_srgb/-mip_linear.\n" "\n" "Backend endpoint/selector RDO codec options:\n" " -no_selector_rdo: Disable backend's selector rate distortion optimizations (slightly faster, less noisy output, but lower quality per output bit)\n"