v2.1.0
New Texture Format Support
Based on work by @heisthecat31 (PR #5), cleaned up and tested:
- R8_UNORM — Grayscale textures
- R8G8B8A8 — Uncompressed RGBA (sRGB and linear)
- B8G8R8A8 — Uncompressed BGRA (sRGB and Typeless)
- R11G11B10_FLOAT — Packed HDR float format
Fixes
- RGB565 bit expansion — Fixed rounding errors in BC1/BC3 color decoding (bit-replication instead of lossy multiply-divide)
- sRGB interpolation — BC1/BC3 now interpolate in linear space for sRGB variants, producing correct colors
- NRGBA output — Decoded textures now use non-premultiplied alpha (
image.NRGBA), which is correct for texture data
Install
go install github.com/EchoTools/evrFileTools/cmd/texconv@v2.1.0