BC7 BCPack: alpha of 7 more endpoint presets, fitted with joint endpoint moves #266

Manually merged
github merged 1 commit from gh-pr/266/head into gh-pr/266/base 2026-11-26 20:22:53 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 12:25 UTC · original
holdmysocks:claude/bcpack-bc7-alpha4 → master · +7 −7 · 1 files · 1 commits · merged 2026-11-25 13:27 UTC

Follow-up to #244. Seven more BC7 endpoint preset slots (53, 75, 111, 128, 132, 229, 239) get fitted alpha entries. Only the table changes.

Why these were missed before: when both alpha endpoints of a preset are wrong, changing one entry at a time only halves the error, and the clamp on the fit cost hid that gain. The fit now also tries moving both endpoints of a subset (and all three subsets) to one value.

One more slot from the same round (78) is left out: it made seven textures worse.

Full mip check of the 1,433 BCPack BC7 textures against current master:

  • colour unchanged for every texture
  • alpha better by more than 1 dB on 13 textures, worse by more than 1 dB on none
  • alpha under 25 dB: 41 to 38 textures; under 20 dB: 24 to 21

Tests: run by CI.

**@⁠holdmysocks** on GitHub · 2026-11-25 12:25 UTC · [original](https://github.com/holdmysocks/SixNG/pull/266) `holdmysocks:claude/bcpack-bc7-alpha4` → `master` · +7 −7 · 1 files · 1 commits · merged 2026-11-25 13:27 UTC Follow-up to #244. Seven more BC7 endpoint preset slots (53, 75, 111, 128, 132, 229, 239) get fitted alpha entries. Only the table changes. Why these were missed before: when both alpha endpoints of a preset are wrong, changing one entry at a time only halves the error, and the clamp on the fit cost hid that gain. The fit now also tries moving both endpoints of a subset (and all three subsets) to one value. One more slot from the same round (78) is left out: it made seven textures worse. Full mip check of the 1,433 BCPack BC7 textures against current master: - colour unchanged for every texture - alpha better by more than 1 dB on 13 textures, worse by more than 1 dB on none - alpha under 25 dB: 41 to 38 textures; under 20 dB: 24 to 21 Tests: run by CI.
Slots 53, 75, 111, 128, 132, 229 and 239. When both alpha endpoints of a
preset are wrong, changing one entry at a time only halves the error, and
the clamp on the fit cost hid that gain; the fit now also moves both
endpoints of a subset together. Full mip check of the 1,433 BCPack BC7
textures: colour unchanged, alpha better by more than 1 dB on 13 textures
and worse on none; alpha under 25 dB 41 to 38, under 20 dB 24 to 21.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:22:51 +00:00
github manually merged commit 967753f9d3 into gh-pr/266/base 2026-11-26 20:22:53 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.