BC6H BCPack: refit the preset tables with an index-aware score #20

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

@⁠holdmysocks on GitHub · 2026-11-22 23:25 UTC · original
holdmysocks:claude/bc6-preset-refit → master · +289 −289 · 2 files · 1 commits · merged 2026-11-22 23:25 UTC

Endpoint preset slots are now fitted with the full pixel error using the decoded indices, instead of the index-free best-palette score (which was lenient on the second region's first endpoint). Slots reached only by textures stored in BCPack were refitted against decoded neighbours. Only the generated table file and one README sentence change.

Results against plain neighbour mips (36 chunks):

  • blocks within 0.15 stops: 85.9 % -> 87.7 %
  • tonemapped PSNR: 27.2 -> 28.1 dB; median per texture 29.0 -> 34.6 dB
  • 15 chunks better, 3 slightly worse (two are lighting chunks whose neighbour mips disagree; the third is a prop at 40.2 -> 37.6 dB)
  • largest gains: single prop textures 17.8 -> 38.7, 36.1 -> 54.4, 35.5 -> 50.3 dB

BCPack-only textures: 57.9 % -> 61.7 % of blocks match their decoded neighbours.

BC6H library tests pass.

**@⁠holdmysocks** on GitHub · 2026-11-22 23:25 UTC · [original](https://github.com/holdmysocks/SixNG/pull/20) `holdmysocks:claude/bc6-preset-refit` → `master` · +289 −289 · 2 files · 1 commits · merged 2026-11-22 23:25 UTC Endpoint preset slots are now fitted with the full pixel error using the decoded indices, instead of the index-free best-palette score (which was lenient on the second region's first endpoint). Slots reached only by textures stored in BCPack were refitted against decoded neighbours. Only the generated table file and one README sentence change. Results against plain neighbour mips (36 chunks): - blocks within 0.15 stops: 85.9 % -> 87.7 % - tonemapped PSNR: 27.2 -> 28.1 dB; median per texture 29.0 -> 34.6 dB - 15 chunks better, 3 slightly worse (two are lighting chunks whose neighbour mips disagree; the third is a prop at 40.2 -> 37.6 dB) - largest gains: single prop textures 17.8 -> 38.7, 36.1 -> 54.4, 35.5 -> 50.3 dB BCPack-only textures: 57.9 % -> 61.7 % of blocks match their decoded neighbours. BC6H library tests pass.
Endpoint preset slots are now fitted with the full pixel error using the
decoded indices instead of the index-free best-palette score, which was
lenient on the second region's first endpoint. Slots that only textures
stored in BCPack reach were refitted against decoded neighbours.

Textures with a plain neighbour mip: 85.9 % -> 87.7 % of blocks within
0.15 stops, tonemapped 27.2 -> 28.1 dB, median per texture 29.0 -> 34.6 dB
(15 better, 3 slightly worse, two of them lighting chunks whose neighbour
mips disagree). BCPack-only textures: 57.9 % -> 61.7 % of blocks match
their decoded neighbours.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:03:26 +00:00
github manually merged commit 027ba74ebc into gh-pr/20/base 2026-11-26 20:03:28 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.