BC6H BCPack: preset refit with lighting chunks kept for the rules only #134

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

@⁠holdmysocks on GitHub · 2026-11-24 10:17 UTC · original
holdmysocks:claude/bcpack-bc6h-refit3 → master · +46 −46 · 1 files · 1 commits · merged 2026-11-24 11:23 UTC

Two more joint refit rounds of the BC6H presets. Only bc6pack_tables.rs changes.

Chunks of the prefiltered lighting store no longer supply fit targets, because their mips do not predict each other. They still take part in the no-wrap rule.

Measure Before After
Blocks breaking the no-wrap rule 599 221
Real references, down-mip 24.6 dB 25.1 dB
Real references, up-mip 32.2 dB 32.2 dB
Mip check, 89 BCPack-only BC6H textures, median 24.0 dB 24.9 dB
Same, mean 24.7 dB 25.3 dB
Same, textures under 20 dB 23.6 % 22.5 %

In the mip check 29 textures improved and 4 got worse. The share of good blocks on real references is unchanged, so most of the BC6H gap to plain textures remains.

Tests: 19 decoder tests pass.

**@⁠holdmysocks** on GitHub · 2026-11-24 10:17 UTC · [original](https://github.com/holdmysocks/SixNG/pull/134) `holdmysocks:claude/bcpack-bc6h-refit3` → `master` · +46 −46 · 1 files · 1 commits · merged 2026-11-24 11:23 UTC Two more joint refit rounds of the BC6H presets. Only `bc6pack_tables.rs` changes. Chunks of the prefiltered lighting store no longer supply fit targets, because their mips do not predict each other. They still take part in the no-wrap rule. | Measure | Before | After | |---|---|---| | Blocks breaking the no-wrap rule | 599 | 221 | | Real references, down-mip | 24.6 dB | 25.1 dB | | Real references, up-mip | 32.2 dB | 32.2 dB | | Mip check, 89 BCPack-only BC6H textures, median | 24.0 dB | 24.9 dB | | Same, mean | 24.7 dB | 25.3 dB | | Same, textures under 20 dB | 23.6 % | 22.5 % | In the mip check 29 textures improved and 4 got worse. The share of good blocks on real references is unchanged, so most of the BC6H gap to plain textures remains. Tests: 19 decoder tests pass.
Two more joint rounds. Chunks of the prefiltered lighting store no longer
supply fit targets, because their mips do not predict each other; they still
take part in the no-wrap rule.

Blocks breaking the no-wrap rule: 599 to 221. Real references: down-mip
24.6 to 25.1 dB, up-mip unchanged at 32.2 dB. Mip check of the 89 BCPack-only
BC6H textures: median 24.0 to 24.9 dB, 29 textures better, 4 worse.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:12:19 +00:00
github manually merged commit 023216e1b8 into gh-pr/134/base 2026-11-26 20:12:21 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.