BC1 BCPack: 6 preset window slots from a third mip-consistency round #337

Manually merged
github merged 2 commits from gh-pr/337/head into gh-pr/337/base 2026-11-26 20:28:33 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 02:22 UTC · original
holdmysocks:claude/bcpack-bc1-round3 → master · +7 −1 · 1 files · 2 commits · merged 2026-11-26 02:47 UTC

Third round of the BC1 mip-consistency fit (method as in #321 and #328). Adds slots 6, 105, 110, 119, 141 and 148, giving 50 overrides. Each slot lowers the cost on both even and odd chunks, and by more than 5 % in total, but not by 5 % on each half. The full mip check is the deciding test.

Mip check over all BC1 BCPack textures (35,533), master vs this table:

  • Under 20 dB: 65 -> 60
  • Under 25 dB: 474 -> 460
  • Better by more than 1 dB: 44 textures. Worse: none.
  • Plain textures and other formats: unchanged.

Since #321, BC1 textures under 20 dB have gone from 138 to 60. The same relaxed rule applied to BC6H made seven textures slightly worse, so BC6H is not changed.

Tests: cargo test -p sixng-core bc1pack passes.

**@⁠holdmysocks** on GitHub · 2026-11-26 02:22 UTC · [original](https://github.com/holdmysocks/SixNG/pull/337) `holdmysocks:claude/bcpack-bc1-round3` → `master` · +7 −1 · 1 files · 2 commits · merged 2026-11-26 02:47 UTC Third round of the BC1 mip-consistency fit (method as in #321 and #328). Adds slots 6, 105, 110, 119, 141 and 148, giving 50 overrides. Each slot lowers the cost on both even and odd chunks, and by more than 5 % in total, but not by 5 % on each half. The full mip check is the deciding test. **Mip check over all BC1 BCPack textures (35,533), master vs this table:** - Under 20 dB: 65 -> 60 - Under 25 dB: 474 -> 460 - Better by more than 1 dB: 44 textures. Worse: none. - Plain textures and other formats: unchanged. Since #321, BC1 textures under 20 dB have gone from 138 to 60. The same relaxed rule applied to BC6H made seven textures slightly worse, so BC6H is not changed. Tests: `cargo test -p sixng-core bc1pack` passes.
A third round of the mip-consistency fit adds slots 6, 105, 110, 119, 141
and 148. Each lowers the cost on both even and odd chunks and by more than
5 % in total, though not by 5 % on each half.

Mip check over all BC1 BCPack textures (35,533) against master: under
20 dB 65 -> 60, under 25 dB 474 -> 460; 44 textures better by more than
1 dB, none worse. Plain textures and other formats are unchanged.
The branch was cut from an older master; this brings every file except
the BC1 table back to current master.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:28:31 +00:00
github manually merged commit cadc6ae9ed into gh-pr/337/base 2026-11-26 20:28:33 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.