Pushing beyond BC7: HDR BC6H & Joint PBR TSL.

Hardware bc6h-rgb-ufloat shrinks HDR environment maps by 8.0× (70.09 dB mPSNR) with zero adoption friction, while runtime GPU-encoded variable-bitrate JMBC1 packs albedo, normal, roughness/metalness, and alpha into 4.27×–5.98× less VRAM than 24-bpp BC7+BC5+BC7 inside a single Three.js TSL node.

Initializing WebGPU + Three.js Beyond-BC7 lab…

Hardware BC6H_UF16 8.0×less VRAM 70.09 dB 9-stop mPSNR · Adaptive Modes 11–14 (8 bpp vs 64 bpp)
Joint PBR TSL · Corpus 4.27×vs BC7 5.62 bpp mean (17.1× vs 3× RGBA8) · zero pipeline changes
Viking Ship .glb 4.76×vs BC7 1.27 MB vs 6.03 MB BC7 (3.22 bpp, 43.52 dB render PSNR)
Hardwood 2K PBR 5.98×vs BC7 4.01 bpp vs 24 bpp (23.9× vs RGBA8) · 19.6 ms GPU encode
01 · Interactive WebGPU & Three.js Lab

Run both encoders live on your GPU.

Switch between the variable-bitrate Joint PBR TSL pipeline on real .glb models and hardware BC6H HDR IBL spheres.

100% local in WebGPU · zero WASM
Waiting for WebGPU…
Interactive WebGPU 3D Viewport

Booting WebGPURenderer and compiling compute kernels on your GPU…

02 · Why Hardware Formats Stop at 24 bpp — and How to Go Past

Two complementary answers: BC6H for HDR, Joint TSL for PBR.

Fixed-function GPU sampling hardware freezes standalone 8-bpp BC7 and 24-bpp BC7+BC5+BC7 tuples because TMUs cannot follow variable-length pointers or cross-map bit allocation. Keeping hardware TMU for HDR and pairing compute packing + TSL decode for PBR breaks both ceilings.

Track 1 · Hardware Native bc6h-rgb-ufloat · 8.00 bpp

Hardware BC6H HDR (Adaptive Modes 11–14)

Zero adoption friction and zero shader changes: Three.js ExternalTexture + PMREMNode sample mipmapped bc6h-rgb-ufloat directly through hardware filtering units.

  • 1-subset Modes 11, 12, 13, 14 selected per 4×4 block in WebGPU WGSL
  • Encodes directly in log2 perception space so highlights and dark shadows get matched bit precision
  • 0-ULP exact hardware textureLoad bit parity against Khronos §23.7 (tested across 420+ edge blocks)
  • 8.00× VRAM reduction vs rgba16float (699 KB vs 5.59 MB at 1024×512, 11 mips) in 5.2–5.5 ms
Track 2 · Zero-Change PBR VRAM JMBC1 · 1.50–11.50 bpp

Runtime Joint Variable-Bitrate PBR + TSL Node

Standard .glb, .avif, or .webp inputs compile on load into one variable-bitrate StorageBuffer per material via prefix-sum stream compaction, decoded once per fragment inside a Three.js TSL mat3.toVar() block.

  • Tier 0Constant / near-flat 8×8 macro-tile (mean albedo + N + ORM)1.50 bpp · 16×
  • Tier 1Correlated 1D ramp (6-bit proj + shared 4×4 luma luts)3.50 bpp · 6.9×
  • Tier 2PCA albedo + 4×4 octa-normal & scalar ORM grids4.50 bpp · 5.3×
  • Tier 3High-entropy detail (2×2 luma/chroma + full 4×4 normals + ORM)11.50 bpp · 2.1×
Honest engineering trade-offs: Hardware cannot filter arbitrary variable-length storage buffers in fixed TMUs, so JMBC1 trades ~30–140 WGSL arithmetic instructions per fragment (using 1-tap stochastic bilinear jittering for crisp derivatives at 1× decode cost) for 4.3×–6.0× VRAM savings. High-frequency artificial textures (e.g., 1-px Sobel brick normals) promote ~63% of tiles to Tier 3 (still 2.76× smaller than 24-bpp BC7), while real 3D models average 2.6–3.2 bpp.
03 · Hardware-Verified Benchmarks · Apple M3 Max · Chrome WebGPU · three 0.186.1

Measured quality, VRAM & encode timing.

Every number below was measured on real Apple M3 Max hardware with e2e/beyond-bc7.spec.js (no mocked devices, no estimates).

Joint Variable-Bitrate PBR (JMBC1, quality: 'default') vs 24-bpp BC7+BC5+BC7

All 3-map corpus spheres compare full albedo + normal + roughness tuples; .glb rows pack every PBR material in place with zero asset preprocessing.
Asset / Model Resolution / Assets 3× RGBA8 VRAM 24-bpp BC7+BC5 JMBC1 VRAM Effective bpp vs BC7 vs RGBA8 Encode ms Render / Decode PSNR
hardwood 3-Map Sphere 2048×1024 · 12 mips 33.55 MB 8.39 MB 1.40 MB 4.01 bpp 5.98× 23.9× 19.6 ms 31.81 dB
earth 3-Map Sphere 1024×512 · 11 mips 8.39 MB 2.10 MB 511.2 KB 5.85 bpp 4.10× 16.4× 8.0 ms 36.84 dB
brick Sphere (1-px Sobel stress) 1024×1024 · 11 mips 16.78 MB 4.19 MB 1.52 MB 8.71 bpp 2.76× 11.0× 9.2 ms 32.79 dB
Corpus 3-Map Aggregate Mean across corpus 58.72 MB 14.68 MB 3.43 MB 5.62 bpp 4.27× 17.11× ~12 ms/mat 31.8–36.8 dB
viking_ship_optimized.glb Full PBR Scene (0 skipped) 24.12 MB 6.03 MB 1.27 MB 3.22 bpp 4.76× 19.04× 39–49 ms 43.52 dB render
retro-cartoon-car_optimized.glb 4 mats · alpha in ORM.r 22.37 MB 5.59 MB 1.83 MB 2.61 bpp 3.06× 12.25× 50.0 ms 51.82 dB render

Hardware BC6H_UF16 HDR (1024×512 Equirectangular, 11 Mips, Sun + Sky + 4× HDR Spheres)

Compared against uncompressed rgba16float in Chrome WebGPU; hardware textureLoad matches the CPU reference decoder at 0.0 ULP.
Pipeline / Mode VRAM (11 Mips) Bitrate vs rgba16float 9-Stop mPSNR RMSLE (log2) GPU Encode Three.js IBL Parity
Uncompressed rgba16float 5.59 MB 64.00 bpp 1.00× Reference 0.0000 – Reference
BC6H Adaptive (Modes 11–14) 699.1 KB 8.00 bpp 8.00× 70.09 dB (+8.07 dB) 0.0040 5.2–5.5 ms 43.61 dB PMREMNode
BC6H Mode 11 Only (Baseline) 699.1 KB 8.00 bpp 8.00× 62.02 dB 0.0091 ~4.8 ms –

Render PSNR on viking_ship (43.52 dB) and retro-cartoon-car (51.82 dB) compares full Three.js WebGPU shaded frames with stochastic TSL sampling vs uncompressed RGBA8 materials at 640×400.

04 · Prototype APIs

Zero-change glTF upgrade & BC6H IBL usage.

Both prototypes live in bench/beyond-bc7/, using Three.js r186 WebGPURenderer, ExternalTexture, and TSL nodes with zero asset preprocessing.

Upgrade Any .glb to Joint PBR TSL

bench/beyond-bc7/tsl-material.js
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'
import { compressGLTFMaterials } from './bench/beyond-bc7/tsl-material.js'

const gltf = await new GLTFLoader().loadAsync('viking_ship.glb')
const receipt = await compressGLTFMaterials(gltf, renderer, {
  quality: 'default',
  filter: 'stochastic', // or 'bilinear' / 'nearest'
})
// receipt.savingsVsBc7 → 4.76× · receipt.bpp → 3.22 bpp

Encode HDR Lightmaps & IBL to BC6H

bench/beyond-bc7/bc6h.js
import { createBC6HExternalTexture, encodeBC6HGPU } from './bench/beyond-bc7/bc6h.js'

const encoded = await encodeBC6HGPU(renderer.backend.device, hdrImage, {
  adaptive: true, // Modes 11–14 (+8.07 dB mPSNR vs Mode 11)
})
const envTex = createBC6HExternalTexture(encoded, { equirectangular: true })
scene.environment = envTex
scene.background = envTex // 8.00× less VRAM than rgba16float

Explore the rest of UltraTexture.

Inspect individual BC7/ASTC/ETC2 kernels in the Playground, measure live corpus timings on your GPU, or read the Beyond BC7 technical report.