Bytes to GPU blocks in 1 pass. Zero CPU image decode.
Native GPU format for .rcd and .rcd.glb: zero CPU decode, zero WASM, and 1 GPU pass.
Runtime ReadyLoads in ultra-fast-texture, /three and /gltf · CLI & Vite plugin included.
CPU image decode0ms0.96 ms 4K GPU submit
14-asset PBR corpus1,863KiB39.92 dB mean PSNR
vs Basis UASTC .ktx213of 16smaller & faster at equal PSNR
Viking Ship .rcd.glb−32.5%1,491 vs 2,208 KiB
Over the network · 4 textures3.4–4.2×sooner3.7× fewer bytes than .ktx2 (35.87 vs 35.76 dB)
8 Mbps3.4×515 vs 1,753 ms
20 Mbps3.5×217 vs 752 ms
50 Mbps3.5×96 vs 339 ms
100 Mbps3.6×53 vs 191 ms
1 Gbps4.2×13.6 vs 57 ms
Apple M3 Max · Chrome 156–157. The network figures use the 2026-11-03 RCD1 files; today's step 8 files for those four textures total 452.2 KiB at 35.69 dB.
Decision matrix · 5 GPU delivery formats
What to use when.
Five specialized delivery formats that all feed UltraTexture’s zero-WASM WebGPU block encoders. Pick by network target and test live on your GPU.
Use Case / Scenario
Recommended Format
4-Tex Batch
Mean PSNR
Warm GPU
Cold 4G+
Cold Local
Why It Wins
Live GPU Test
General 3D Web / glTF / Single Textures
AVIF-Fast + UFT
294.2 KiB
35.91 dB
4.12 ms
230.3 ms
49.5 ms
5.4× smaller than .ktx2 at 35.76 dB · GPU YUV upload
64×64 superblocks + fast-decode AV1 intra flags + WebCodecs VideoFrame GPU YUV→RGB upload: 21.4 ms 4K upload (−35.3%), 4.12 ms 4-tex warm, and 49.5 ms Cold Local (1-tex).
npx uft-convert model.glb -f avif-fast
# or in vite.config.js:
uftVitePlugin({ auto: 'all', format: 'avif-fast' })
6 native modes (r, xy-normal, rg, la, ycocg, ycocg-a) + f16 RDOQ + single-pass GPU fusion: 1,863.4 KiB at 39.92 dB on the 14-asset corpus (AVIF-Fast: 1,850.4 KiB at 43.18 dB; 1.28× at equal PSNR) and 0.96 ms 4K submit.
npx uft-convert scene.glb -o scene.rcd.glb --step 8
# or in vite.config.js:
uftVitePlugin({ auto: true, format: 'rcd1', step: 8 })
On a standard 1024² WebP, browser CPU image decode accounts for 77% of the 15 ms warm load. RCD1 moves that decode onto the GPU too.
WebP q75 + UltraTexture
203.9 KiB · 32.45 dB PSNR
14.67ms
Browser image decode 11.35 ms
Upload + UltraTexture BC7 2.89 ms
Basis UASTC .ktx2, RDO 6
726.2 KiB · 30.80 dB PSNR · three.js’s Basis transcoder
12.54ms
WebAssembly transcode on the main thread 11.08 ms
Upload 1.15 ms
RCD1 step 8 + UltraTexture 4.1× faster than WebP3.5× faster than UASTC
236.6 KiB · 32.40 dB PSNR · 3.1× smaller than UASTC, 16% larger than WebP
3.58ms
CPU: read the Blob, parse, upload, submit 0.70 ms
GPU: Rice decode → IDCT → BC7, the rest of the 3.58 ms
05 ms10 ms15 ms
Brick, 1024², one mip level, BC7 output, the same files as the size / quality tables below; Apple M3 Max, headless Chrome 157, 2026-11-16, one-minute load average 5.8 with other applications open. Bars share one 0–15 ms scale. Each stage is its own median of 9 warm runs, so stages need not add up exactly to the total. No library, transcoder or loader download is included.
Architecture · Single-pass GPU fusion
One compute pass, one submit.
In the shipped runtime, Rice entropy decode, 1–4-plane f16 IDCT, mipchain generation, and any of the 11 BC / ASTC / ETC2 encoders fuse into one GPUComputePassEncoder and one queue.submit() (0.96 ms 4K submit, 0.0 MiB warm transient allocs ≤ 2K).
Independent 128–1,024-value packets decoded in parallel (8 streams per 64-thread workgroup) with an O(1) CPU prefix-popcount trailer, wgStream broadcast, and pooled zero-maintained coeffBuf.
Stage 02coefficients → chainBuf · 6 native modes
1–4-plane f16 inverse DCT
64 × Pbinary16 quantizers + separable 8×8 IDCT across r, 45° xy-normal, rg, la, ycocg, and ycocg-a → packed texels straight into Engine.gpuStage mip 0.
Stage 03mips + 11 GPU block formats · 0.06–2.19 ms
Mipchain + BC / ASTC / ETC2 encode
Full mip chain down to 1×1 plus UFT’s BC7/BC5/BC4/BC1, ASTC 4×4/6×6/8×8, or ETC2/EAC kernel in the same compute pass — zero intermediate rgba8unorm texture and zero readback.
All 11 compressed formats · single-pass fused
Windows, Linux, macOS, iOS and Android WebGPU: BC, ASTC and ETC2/EAC all run in the 1-pass fused pipeline (3 → 1 compute passes, −26% to −37% faster GPU completion).
NPOT dimensions & RGBA8 fallback
Non-divisible-by-8 sources (e.g. 758×600, 126×126) pad edges symmetrically on encode and crop exact dimensions on GPU decode; devices without block compression receive mipmapped RGBA8.
Measured · Apple M3 Max · headless Chrome 156–157 · 2026-10-27 to 2026-11-19
Across all 14 mixed PBR corpus textures at step = 8, RCD1 totals 1,863.4 KiB (39.92 dB, 0 ms CPU). AVIF-Fast is 1,850.4 KiB at 43.18 dB, so at equal PSNR RCD1 needs about 1.28× its bytes. It shrinks viking_ship.glb by −32.5%, its textures at 37.4 dB against the originals.
1,863.4 KiB at 39.92 dB across the 14-asset PBR corpus, with 0.00 ms CPU decode.RCD1 is at step 8 and the others at their CLI defaults, so the files are not at the same quality: AVIF-Fast is 1,850.4 KiB at 43.18 dB and WebP-Fast 1,663.2 KiB at 42.61 dB (one near-lossless map at 90.3 dB lifts that mean). At equal PSNR RCD1 needs 1.28× the bytes of AVIF-Fast (more on all 14 textures) and 1.10× those of WebP-Fast (fewer on 5 of 13). Native 1-plane r, 2-plane la / xy-normal, 3-plane ycocg, and 4-plane ycocg-a modes plus binary16 quantizers and Lagrangian RDOQ cut the 9-texture viking_ship.glb from 2,207.7 to 1,491.1 KiB (−32.5%), its textures at 37.4 dB mean PSNR against the originals.
14-asset PBR delivery corpus and 3D .rcd.glb model sizes at step 8
Asset / 3D Model
Dimensions · Mode
RCD1 (.rcd)
AVIF-Fast
WebP-Fast
RCD1 at AVIF's PSNR
alphaMap
512×512 · r (1-plane)
60.1 KiB32.43 dB
87.3 KiB39.00 dB
72.1 KiB35.32 dB
92.4 KiB (1.06×)
brick_diffuse
1024×1024 · ycocg
239.8 KiB33.57 dB
303.2 KiB37.96 dB
218.6 KiB33.87 dB
373.6 KiB (1.23×)
earth_normal_2048
2048×1024 · xy-normal
123.7 KiB39.25 dB
157.3 KiB43.45 dB
103.0 KiB39.28 dB
200.3 KiB (1.27×)
earth_atmos_2048
2048×1024 · ycocg
196.3 KiB37.02 dB
223.4 KiB42.01 dB
152.8 KiB37.58 dB
316.4 KiB (1.42×)
brick_roughness
1024×1024 · auto r
184.4 KiB39.82 dB
185.5 KiB41.87 dB
157.1 KiB37.57 dB
211.0 KiB (1.14×)
758px-Canestra_di_frutta
758×600 NPOT · ycocg
127.1 KiB37.11 dB
127.9 KiB38.43 dB
125.5 KiB34.15 dB
147.8 KiB (1.16×)
NormalMapOpenGL
512×512 · xy-normal
11.9 KiB41.44 dB
10.5 KiB46.65 dB
9.5 KiB42.20 dB
17.6 KiB (1.67×)
hardwood2_diffuse
2048×1024 · ycocg
215.9 KiB40.10 dB
195.7 KiB40.38 dB
168.2 KiB37.24 dB
222.6 KiB (1.14×)
earth_clouds_1024
1024×512 · auto la
86.0 KiB44.58 dB
79.0 KiB46.53 dB
225.1 KiB90.34 dB
93.5 KiB (1.18×)
hardwood2_roughness
2048×1024 · ycocg
66.6 KiB45.48 dB
53.0 KiB48.69 dB
43.5 KiB44.15 dB
87.9 KiB (1.66×)
earth_day_4096
4096×2048 · ycocg
450.1 KiB43.96 dB
358.3 KiB43.86 dB
327.7 KiB40.64 dB
445.6 KiB (1.24×)
sprite
128×128 · ycocg-a
3.9 KiB40.21 dB
3.0 KiB44.22 dB
2.2 KiB39.83 dB
5.2 KiB (1.72×)
uv_grid_opengl
1024×1024 · ycocg
95.2 KiB38.41 dB
64.8 KiB44.16 dB
55.0 KiB39.18 dB
150.2 KiB (2.32×)
blossom
126×126 NPOT · ycocg-a
2.3 KiB45.49 dB
1.5 KiB47.37 dB
2.9 KiB45.17 dB
2.8 KiB (1.81×)
14-Asset Corpus Total
All 14 PBR textures · step 8
1,863.4 KiB39.92 dB
1,850.4 KiB43.18 dB
1,663.2 KiB42.61 dB
2,366.9 KiB (1.28×)
3D glTF Models (.glb → .rcd.glb) · Embedded image/x-uft-rcd1 views, 0 ms CPU decode
viking_ship_optimized
9 embedded PBR textures
1,491.1 KiB37.40 dB
2,207.7 KiB .glb
–
−716.6 KiB (−32.5%)
retro-cartoon-car_optimized
4 embedded textures
1,292.4 KiB40.14 dB
1,234.5 KiB .glb
–
+4.7% · 0 ms CPU
cat-house_optimized
1 embedded texture
316.6 KiB39.91 dB
292.4 KiB .glb
–
+8.3% · 0 ms CPU
Sizes and quality from node bench/delivery/matched.mjs: the files tools/uft-convert.mjs writes for samples/corpus/delivery/ (RCD1 at step 8, AVIF-Fast and WebP-Fast at the CLI defaults) and the committed demo/models/*.rcd.glb (1 KiB = 1,024 B). PSNR covers the channels each RCD1 mode stores, against the decoded corpus WebPs and before the GPU's BC7 encode; totals are means over textures. The byte columns are not at equal quality; the last column is the size RCD1 needs to reach AVIF-Fast's PSNR on that texture, interpolated over the step sweep. The masters are themselves lossy WebPs, so every codec is scored on reproducing WebP's output; from the upstream three.js originals the ratio is 1.62×. The .glb rows compare against the source model: their dB is the mean over the converted textures against the textures they replaced (the car keeps one WebP as it was). Most of the Viking saving is its three normal maps, 762.7 KiB of WebP in the source and 77.5 KiB in RCD1 at 31.3–36.5 dB.
Smaller and faster in 13 of 16 settings. Basis UASTC .ktx2 runs through three.js’s bundled Basis transcoder (WebAssembly, called directly on the main thread rather than through KTX2Loader’s workers). Each UASTC file is paired with the smallest RCD1 file whose PSNR after BC7 is at least as high. In all 13 settings that have one, RCD1 was both smaller (1.07–7.6×) and faster (1.8–3.9×); for RDO 0 on brick (by 0.002 dB) and RDO 0 and 1 on the UV grid no RCD1 step reaches the UASTC PSNR.
Texture
Basis UASTC .ktx2
Matched RCD1
Files KiB
Size
Warm ms
Speed
Brick1024²
uastc-rdo038.04 dB
not reached
947.3 → –
–
12.65 → –
–
uastc-rdo137.73 dB
step 137.80 dB
934.7 → 708.2
1.32× smaller
12.73 → 4.41
2.9× faster
uastc-rdo334.35 dB
step 4.7634.47 dB
836.2 → 337.0
2.5× smaller
12.06 → 3.46
3.5× faster
uastc-rdo630.80 dB
step 11.3130.98 dB
726.2 → 181.5
4.0× smaller
12.54 → 3.18
3.9× faster
Earth1024×512
uastc-rdo045.50 dB
step 0.5945.63 dB
284.3 → 265.4
1.07× smaller
5.05 → 2.84
1.8× faster
uastc-rdo144.12 dB
step 1.1944.54 dB
248.9 → 185.2
1.34× smaller
5.08 → 2.48
2.0× faster
uastc-rdo339.99 dB
step 440.07 dB
222.7 → 86.7
2.6× smaller
4.99 → 2.56
1.9× faster
uastc-rdo636.42 dB
step 836.76 dB
201.6 → 51.8
3.9× smaller
5.05 → 2.46
2.1× faster
Wood1024×512
uastc-rdo043.94 dB
step 0.7144.09 dB
455.3 → 313.8
1.45× smaller
5.80 → 2.70
2.1× faster
uastc-rdo139.81 dB
step 3.3640.03 dB
414.9 → 134.6
3.1× smaller
6.23 → 2.49
2.5× faster
uastc-rdo334.90 dB
step 9.5135.40 dB
330.3 → 60.4
5.5× smaller
5.96 → 1.96
3.0× faster
uastc-rdo632.41 dB
step 1633.03 dB
287.9 → 37.7
7.6× smaller
6.10 → 2.30
2.7× faster
UV grid1024²
uastc-rdo045.37 dB
not reached
367.5 → –
–
9.38 → –
–
uastc-rdo143.96 dB
not reached
328.1 → –
–
9.38 → –
–
uastc-rdo342.46 dB
step 1.6842.78 dB
320.6 → 212.0
1.51× smaller
9.42 → 3.30
2.9× faster
uastc-rdo640.93 dB
step 3.3641.08 dB
317.3 → 151.8
2.1× smaller
9.35 → 2.88
3.3× faster
KTX-Software 4.4.2 UASTC (quality 2, Zstd 18, RDO λ 0 / 1 / 3 / 6), transcoded to BC7. RCD1 files are written by tools/uft-convert.mjs at 25 steps from 0.5 to 32 and loaded through the library’s production path. PSNR is RGB, after hardware BC7 decoding. KiB and ms read baseline → RCD1; ms is the median of 9 warm runs from file bytes in memory to GPU completion. Neither the transcoder nor the RCD1 loader download is counted. Where no step reaches the UASTC PSNR, the best RCD1 file (step 0.5) is 916.7 KiB at 38.04 dB on brick, 0.002 dB short, and 366.5 KiB at 43.64 dB on the UV grid. Measured with node bench/delivery/run-matched.mjs on 2026-11-16: Apple M3 Max, headless Chrome 157, one-minute load average 5.7–5.8 with other applications open. RCD1’s times vary the most: its GPU completion wait ranged from 0.8 to 6.6 ms between runs of the same file, and its fastest runs took 1.2–2.6 ms; in every pair its 75th-percentile time is still below the baseline’s 25th percentile. The RCD1 medians are 1.4–2.4× those measured on 2026-11-03, while the UASTC medians are 3–14% lower; the cause is not known yet. The masters are the decoded corpus WebPs: on the 14-texture corpus, scoring against the upstream three.js originals instead raised RCD1’s bytes from 1.28× to 1.62× those of AVIF-Fast at equal PSNR, and this UASTC comparison has not been repeated from the originals.
Same BC7 encoder, minus the image decoder. Both sides end in UltraTexture’s BC7 kernel; RCD1 only removes the browser’s image decode. Paired with the smallest RCD1 file of at least the same PSNR after BC7, RCD1 was 1.8–7.8× faster than lossy WebP and AVIF across all four textures, but larger in 30 of those 32 settings: 1.13–1.32× on brick, up to 2.8× on the UV grid. No RCD1 step reaches the PSNR of the lossless files.
Brick 1024² baseline
Matched RCD1
Files KiB
Size
Δ PSNR
Warm ms
Speed
webp-q6031.35 dB
step 9.51
171.0 → 207.9
1.22× larger
+0.34 dB
13.15 → 3.12
4.2× faster
webp-q7532.45 dB
step 6.73
203.9 → 268.1
1.31× larger
+0.67 dB
14.67 → 3.70
4.0× faster
webp-q8535.07 dB
step 4
328.9 → 373.9
1.14× larger
+0.03 dB
20.54 → 3.23
6.3× faster
webp-q9537.33 dB
step 1.41
495.2 → 618.3
1.25× larger
+0.17 dB
27.66 → 3.53
7.8× faster
webp-lossless38.16 dB
not reached
1,357.4 → –
–
–
20.51 → –
–
avif-q4528.61 dB
step 19.03
88.0 → 116.0
1.32× larger
+0.26 dB
10.32 → 3.14
3.3× faster
avif-q6031.41 dB
step 9.51
164.7 → 207.9
1.26× larger
+0.29 dB
12.75 → 3.12
4.1× faster
avif-q7534.26 dB
step 4.76
285.4 → 337.0
1.18× larger
+0.21 dB
14.63 → 3.46
4.2× faster
avif-q9036.93 dB
step 2
471.5 → 532.4
1.13× larger
+0.07 dB
19.65 → 2.98
6.6× faster
avif-lossless38.16 dB
not reached
1,732.6 → –
–
–
59.22 → –
–
WebP: cwebp 1.6.0, method 6, sharp YUV. AVIF: avifenc 1.4.2, speed 6, 8-bit 4:4:4. Both decoded by the browser, then encoded by UltraTexture. Δ PSNR is RCD1 minus the baseline, after BC7. The lossless files sit at the BC7 encoder’s ceiling on the master; the best RCD1 file (step 0.5, 916.7 KiB) stays 0.12 dB below it. Same run, timing and matching rule as the UASTC tab. The rows are brick; all four textures are in bench/delivery/RESULTS-matched.md, where wood at WebP q85 and q95 is the only case with a smaller RCD1 file (5–6%). The masters are the decoded corpus WebPs; on the 14-texture corpus the upstream originals moved RCD1 from 1.28× to 1.62× AVIF-Fast’s bytes at equal PSNR and from 1.10× to 1.17× WebP-Fast’s, so the AVIF rows here probably flatter RCD1.
The three runtime-supported delivery formats were 3.2–4.8× faster than Basis UASTC .ktx2 on every link from 8 Mbps to 1 Gbps. Against UASTC’s 35.76 dB mean PSNR after BC7, AVIF-Fast (35.91 dB) was 4.2–4.8× faster, RCD1 (35.87 dB) 3.2–3.9× and WebP-Fast (35.00 dB) 3.9–4.6×. The AV1 Video Stream (.ivf) research container (35.59 dB) was first on every link, 4.6–6.0× faster. Warm, WebP-Fast was first (3.94 ms), then the AV1 stream (3.99 ms) and AVIF-Fast (4.12 ms). In the High tier (41.4–42.4 dB), RCD1step 2 (41.39 dB) was first warm (6.84 ms) and at 1 Gbps (16.6 ms); AVIF-Fastq90 (41.61 dB) was about 2% ahead of it from 8 to 100 Mbps.
Pipeline (4-Texture Scene · 3.1 MP)
Files
Mean PSNR
Warm
8 Mbps
20 Mbps
50 Mbps
100 Mbps
1 Gbps
AV1 Video Stream (.ivf) + UFT
283.6 KiB
35.59 dB
3.99 ms
342.5
148.4
67.0
37.4
8.8
AVIF-Fast (64×64 SB + Sharp-YUV) + UFT
294.2 KiB
35.91 dB
4.12 ms
362.1
158.3
72.0
42.0
11.0
AVIF-Fast Mega-Atlas (ufat) + UFT
293.5 KiB
35.91 dB
4.65 ms
359.6
157.1
72.6
43.4
12.0
WebP-Fast Mega-Atlas (ANMF + UFAT) + UFT
337.0 KiB
34.97 dB
5.20 ms
401.9
174.3
79.7
46.1
12.1
WebP-Fast (4-Strip ANMF) + UFT
337.9 KiB
35.00 dB
3.94 ms
406.2
175.8
79.4
45.5
11.6
RCD1 (.rcd GPU-Native) + UFT
427.0 KiB
35.87 dB
4.94 ms
514.7
217.2
95.8
53.2
13.6
Standard WebP q75 + UltraTexture
350.7 KiB
35.42 dB
14.22 ms
429.5
190.9
90.8
57.1
21.1
WebP q75 + spark.js
350.7 KiB
33.99 dB
14.98 ms
426.7
191.6
91.1
56.1
20.3
Basis UASTC .ktx2 three.js’s Basis transcoder
1,575.4 KiB
35.76 dB
33.00 ms
1,701.4
708.2
309.1
176.9
52.9
High-Quality Tier (41.4–42.4 dB BC7 PSNR) · 4-Texture Scene
RCD1 High (step 1) + UFT
1,447.0 KiB
42.42 dB
7.20 ms
1,560.0
642.0
270.0
142.0
19.5
AVIF-Fast High (q95) + UFT
1,364.0 KiB
42.24 dB
11.40 ms
1,472.0
608.0
256.0
136.0
21.0
AVIF-Fast High (q90) + UFT
1,036.0 KiB
41.61 dB
9.80 ms
1,128.0
466.0
198.0
106.0
18.9
RCD1 High (step 2) + UFT
1,049.0 KiB
41.39 dB
6.84 ms
1,148.0
474.0
201.0
107.8
16.6
WebP-Fast High (q92, 4-Strip ANMF) + UFT
1,092.0 KiB
41.48 dB
8.90 ms
1,188.0
490.0
208.0
112.0
19.8
Basis UASTC .ktx2 High (rdo1, 1-subset BC7 M5)
1,926.0 KiB
41.43 dB
33.26 ms
2,065.3
850.9
367.0
203.0
53.3
Brick, earth, wood and UV grid fetched and turned into BC7 inside an already-loaded page under Chrome network emulation (plus 45 / 25 / 15 / 10 / 2 ms latency); median of 3 runs, in ms. Warm: median of 7. Mean PSNR after BC7; each speed-up is UASTC’s time divided by the row’s, link by link. AV1 Video Stream and the two Mega-Atlas rows are research containers that the runtime loader does not decode. Measured from 2026-10-27 to 2026-11-03 (Chrome 156) with the RCD1 files of 2026-11-03, whose encoder was tuned on these four images; not re-run since. Today’s step 8 files for them total 452.2 KiB at 35.69 dB.
Full Cold Page Load → First WebGPU Render (HTML + JS + GPU init + fetch + decode + BC7 + draw). Measured in fresh uncached browser tabs under CDP network emulation. AV1 Video Stream (.ivf) wins 4-texture Cold Local (52.8 ms), Cold 5G (112.0 ms), Cold 4G+ (220.4 ms), and Cold 4G (486.4 ms) — 5.9× faster than Basis UASTC .ktx2 (2,849.3 ms).
Pipeline (Cold Uncached Browser Tab)
Payload
Cold Local
Cold 5G 50M / 15ms
Cold 4G+ 20M / 25ms
Cold 4G 8M / 45ms
AV1 Video Stream (.ivf) + UFT · 4-Tex
283.6 KiB
52.8 ms
112.0 ms
220.4 ms
486.4 ms
AVIF-Fast + UFT · 4-Tex
294.2 KiB
57.2 ms
128.4 ms
230.3 ms
505.4 ms
AVIF-Fast Mega-Atlas (ufat) + UFT · 4-Tex
293.5 KiB
55.8 ms
129.0 ms
236.2 ms
514.2 ms
WebP-Fast Mega-Atlas (ANMF) + UFT · 4-Tex
337.0 KiB
55.7 ms
127.7 ms
245.5 ms
546.0 ms
WebP-Fast (4-Strip ANMF) + UFT · 4-Tex
337.9 KiB
55.6 ms
135.7 ms
247.7 ms
550.2 ms
RCD1 (.rcd GPU-Native) + UFT · 4-Tex
427.0 KiB
55.1 ms
131.5 ms
289.6 ms
658.0 ms
WebP q75 + spark.js · 4-Tex
350.7 KiB
72.4 ms
152.7 ms
291.7 ms
616.5 ms
Basis UASTC .ktx2 + WASM · 4-Tex
1,575.4 KiB + WASM
145.6 ms
566.6 ms
1,254.0 ms
2,850.1 ms
Single 1024² Texture (Brick) · Cold Uncached Browser Tab
AVIF-Fast + UFT · 1-Tex
179.9 KiB
49.5 ms
99.1 ms(5G)
182.9 ms(4G+)
3.29 ms(warm)
WebP-Fast (4-Strip ANMF) + UFT · 1-Tex
200.4 KiB
49.6 ms
110.2 ms (5G)
260.4 ms (4G)
4.34 ms(warm)
RCD1 (step 8) + UFT · 1-Tex
231.7 KiB
52.3 ms
132.5 ms (4G+)
310.7 ms (4G)
1.77 ms(warm)
Basis UASTC .ktx2 + WASM · 1-Tex
726.2 KiB + WASM
118.9 ms
829.2 ms (4G+)
1,879.0 ms (4G)
14.23 ms (warm)
Measured via performance.now() from navigation start in a fresh browser context (`Cache.setCacheDisabled: true`) until the WebGPU render pass displaying the compressed BC7 texture(s) completes on the GPU. The 4-texture payloads are the Network tab's files, with its mean PSNR. The single-texture rows are brick: RCD1 step 8 at 32.24 dB and UASTC RDO 6 at 30.80 dB after BC7, from the same 2026-11-03 files; the PSNR of the AVIF-Fast and WebP-Fast brick files was not recorded.
116 KiB to 708 KiB, all in 3.0–4.4 ms. Each of the ten timed brick steps reached a BC7 texture in a median 2.98–4.41 ms.
Brick 1024² setting
File
Bits / pixel
BC7 PSNR
SSIM
Warm median
step 19.03
116.0 KiB
0.91
28.87 dB
0.8403
3.14 ms
step 11.31
181.5 KiB
1.42
30.98 dB
0.8919
3.18 ms
step 9.51
207.9 KiB
1.62
31.70 dB
0.9065
3.12 ms
step 8
236.6 KiB
1.85
32.40 dB
0.9192
3.58 ms
step 6.73
268.1 KiB
2.09
33.12 dB
0.9309
3.70 ms
step 4.76
337.0 KiB
2.63
34.47 dB
0.9506
3.46 ms
step 4
373.9 KiB
2.92
35.10 dB
0.9587
3.23 ms
step 2
532.4 KiB
4.16
37.00 dB
0.9798
2.98 ms
step 1.41
618.3 KiB
4.83
37.50 dB
0.9846
3.53 ms
step 1
708.2 KiB
5.53
37.80 dB
0.9871
4.41 ms
The sweep has 25 steps from 0.5 to 32; the run times the nine that the UASTC, WebP and AVIF tabs matched on brick and the CLI default, step 8. PSNR is RGB, after hardware BC7 decoding, against the decoded corpus WebP master; SSIM is the standard Gaussian SSIM (11×11, σ 1.5) on the same pixels, averaged over RGB. In GPU memory every setting is the same 8 bpp BC7.
Developer & agent tooling
Convert with a Node CLI, a Rust CLI or a Vite plugin.
Supports all 5 delivery formats (rcd1, avif-fast, webp-fast, webp-atlas / avif-atlas, and av1-stream.ivf) across images, folders, and .glb / .gltf 3D models.
Node CLI: all 5 formats & .glb
Converts single textures, directories and .glb / .gltf models. --verify round-trips and reports PSNR; --json prints a machine receipt.
# Convert a .glb model to RCD1, AVIF-Fast, or WebP-Fast
npx uft-convert scene.glb -o scene.rcd.glb --step 8 --verify
npx uft-convert scene.glb -f avif-fast -o scene.avif.glb
# Pack a material folder into an AV1 .ivf stream or Mega-Atlas
npx uft-convert ./textures -f av1-stream -o scene.ivf
npx uft-convert ./textures -f webp-atlas -o scene.atlas.webp
Rust CLI: uft-rcd1
Zero-dependency Rust crate in tools/uft-rcd1-rs/. Builds offline with cargo and converts textures and .glb models with identical flags.
# Same conversion through the Rust CLI
pnpm convert:rs scene.glb -o scene.rcd.glb --step 8 --verify
# Or call the release binary directly
./tools/uft-rcd1-rs/target/release/uft-rcd1 scene.glb -o scene.rcd.glb
Vite plugin + GLTFLoader
Zero-touch conversion during vite dev and vite build (auto: true, auto: 'all', or query imports), cached on disk by SHA-256.
// vite.config.js: zero-touch conversion for .glb and images
import { uftVitePlugin } from 'ultra-fast-texture/vite'
export default {
plugins: [ uftVitePlugin( { auto: 'all', format: 'avif-fast' } ) ]
}
// Or explicit per-asset query imports:
import heroRcd from './hero-normal.png?rcd1&step=4'
import albedoFast from './albedo.png?webp-fast'
64 × P positive binary16 (f16) factors across 1–4 planes (r, xy-normal, rg, la, ycocg, ycocg-a; legacy f32 still accepted)
192..576 B…
Descriptors
Active-stream bitmap + packed 96-bit descriptors + optional AC tile masks (augmented at load with an O(1) prefix-popcount trailer)
Payload
Packets
Continuous LSB-first bitstream addressed by 24-bit bit offsets (Lagrangian RDOQ Golomb-Rice, adaptive EMA, raw int16, or zero)
Usage
Which path when.
AVIF-Fast / WebP-Fast + UltraTexture
Default for standard image pipelines. 4.7–5.4× smaller than the UASTC .ktx2 4-texture set at 35.0–35.9 vs 35.8 dB, with a 21.4 ms (−35.3%) 4K WebCodecs GPU YUV→RGB fast path for AVIF-Fast.
RCD1 + UltraTexture
Zero CPU decode & PBR scenes. About 1.28× the bytes of AVIF-Fast at equal PSNR on the 14-asset PBR corpus, −32.5% on viking_ship.rcd.glb (textures at 37.4 dB), 0.96 ms 4K fused submit, and 42.42 dB at step 1 (1,447 KiB) in the High tier.
Share & Copy-Paste
Copy the numbers in one block.
Select & copy for X/Social or GitHub/HN, or open Benchmarks → for 1-click clipboard buttons and your own GPU’s live receipt.
X / Social Post Snippet
ultra-fast-texture: GPU-native RCD1 (.rcd) + WebCodecs AVIF-Fast in WebGPU (0 WASM):
⚡ RCD1 (.rcd): 1,863.4 KiB at 39.9 dB across 14 PBR assets, 0 ms CPU decode (AVIF-Fast: 1,850.4 KiB at 43.2 dB; 1.28× at equal PSNR)
⚡ Single-pass GPU fusion: 0.96 ms 4K submit · viking_ship.rcd.glb −32.5% (1,491 KiB, textures at 37.4 dB)
⚡ AVIF-Fast WebCodecs GPU YUV→RGB: 21.4 ms 4K (−35.3%) · AV1 .ivf: 283.6 KiB / 3.99 ms warm
https://uft.makio.io/rcd1
GitHub / HN Markdown Table
| Workload / Pipeline (Apple M3 Max) | Payload | Speed → GPU | PSNR |
| --- | ---: | ---: | ---: |
| **14-Asset PBR Corpus: RCD1 (`.rcd`)** | **1,863.4 KiB** | **0 ms CPU · 0.96 ms 4K sub** | **39.92 dB** |
| **14-Asset PBR Corpus: AVIF-Fast** | 1,850.4 KiB | **21.4 ms 4K WebCodecs (−35%)** | 43.18 dB |
| **4-Tex Scene: AV1 Stream (`.ivf`) + UFT** | **283.6 KiB** | **3.99 ms warm · 486 ms 4G** | 35.59 dB |
| **4-Tex Scene: WebP-Fast / AVIF-Fast + UFT** | **294–338 KiB** | **3.94–4.12 ms warm** | 35.0–35.9 dB |
| `@ludicon/spark.js` + WebP q75 (4-Tex) | 351 KiB | 14.98 ms warm · 620 ms 4G | 33.99 dB |
| Basis UASTC `.ktx2` + WASM (4-Tex) | 1,575 KiB | 33.00 ms warm · 2,850 ms 4G | 35.76 dB |
Try UltraTexture on your GPU.
Drop a PNG, an .rcd or a .glb into the Playground, or see how UltraTexture compares at different connection speeds.