-
Notifications
You must be signed in to change notification settings - Fork 269
ASTC HDR 6x6 Example Images
This page shows a few .EXR/.PNG images compressed to .KTX2 ASTC 6x6 HDR or ASTC 6x6 HDR intermediate, using the Basis Universal ASTC HDR 6x6 codec, at various settings. Some images were compressed to plain ASTC HDR 6x6 (3.56 bpp), and some to our custom intermediate format which rapidly transcodes to ASTC HDR 6x6.
LDR/SDR inputs were upconverted to HDR by first converting each pixel from sRGB to linear light RGB, then multiplying by a luminance of 100 nits (typical SDR monitors range from 80-100 nits).
For easy viewing on the web, the HDR images are tone mapped using a simple per-component global Reinhard tone mapping operator at various exposures. The tone mapped result was converted to 8-bit sRGB with no dithering.
-
Original tree.exr, 928x906, Reinhard tone mapped, log2 exposure scale=1:
-
ASTC 6x6 HDR intermediate, Reinhard tone mapped, log2 exposure scale=1:
.KTX2 file size: 315,877, 3.01 bits/pixel
Command line:basisu -lambda 3000 -hdr_6x6i_level 8 -debug_images -stats -debug C:\dev\lightprobe\Tree.exr
-
ASTC 6x6 HDR intermediate, Reinhard tone mapped, log2 exposure scale=-2:
-
ASTC 6x6 HDR intermediate, Reinhard tone mapped, log2 exposure scale=4:
-
ASTC 6x6 HDR intermediate, Reinhard tone mapped, log2 exposure scale=6:
-
BC6H, Reinhard tone mapped, log2 exposure scale=1:
-
Original desk.exr, 644x874, Reinhard tone mapped:
-
ASTC 6x6 HDR (3.56 bits/pixel):
Command line:basisu -hdr_6x6_level 8 C:\dev\lightprobe\desk.exr -stats
-
BC6H (8 bits/pixel):
-
Original BarHarborSunrise.exr, resampled to 3216x1809, Reinhard tone mapped:
-
ASTC 6x6 HDR (3.56 bits/pixel):
Command line:basisu -hdr_6x6_level 8 C:\dev\lightprobe\BarHarborSunrise.exr -resample_factor .75 -stats -debug_images
-
BC6H (8 bits/pixel)
-
Original CandleGlass.exr, 1000x810, Reinhard tone mapped, log2 exposure scale=2:
-
ASTC 6x6 HDR (3.56 bits/pixel), log2 exposure scale=2:
Command line:basisu -hdr_6x6_level 8 C:\dev\lightprobe\CandleGlass.exr -stats -debug_images
-
BC6H (8 bits/pixel), log2 exposure scale=2:
-
ASTC 6x6 HDR (3.56 bits/pixel), log2 exposure scale=-8:
-
ASTC 6x6 HDR (3.56 bits/pixel), log2 exposure scale=8:
-
Original .PNG, 2000x1334:
-
Upconverted to linear light (100 nits), compressed to ASTC 6x6 intermediate .KTX2, uncompressed to ASTC 6x6 HDR, decoded and converted back to sRGB:
.KTX2 file size: 697,456 bytes, 2.09 bits/pixel
Command line:basisu -lambda 5000 -hdr_6x6i_level 5 C:\dev\test_images\cnn-election-night3.png
-
BC6H:
-
Original starwars_768.png, 768x768:
-
Upconverted to linear light (100 nits), compressed to ASTC 6x6 intermediate .KTX2, uncompressed to ASTC 6x6 HDR, decoded and converted back to sRGB:
.KTX2 file size: 191,228 bytes, 2.59 bits/pixel
Command line:basisu -lambda 5000 -hdr_6x6i_level 1 -debug_images -stats C:\dev\test_images\starwars_768.png
-
BC6H:
-
Original chief_768.png, 768x384:
-
Upconverted to linear light (100 nits), compressed to ASTC 6x6 intermediate .KTX2, uncompressed to ASTC 6x6 HDR, decoded and converted back to sRGB:
.KTX2 file size: 102,657 bytes, 2.78 bits/pixel
Command line:basisu -lambda 5000 -hdr_6x6i_level 5 -debug_images -stats C:\dev\test_images\chief_768.png -debug
-
BC6H (8 bits/pixel):
-
ASTC 6x6 HDR intermediate:
.KTX2 file size: 87,930 bytes, 2.39 bits/pixel
Command line:basisu -lambda 20000 -hdr_6x6i_level 5 -debug_images -stats C:\dev\test_images\chief_768.png -debug
-
ASTC 6x6 HDR intermediate:
.KTX2 file size: 68,217 bytes, 1.85 bits/pixel
-
ASTC 6x6 HDR intermediate:
.KTX2 file size: 64,677 bytes, 1.75 bits/pixel
-
Original rain_1k.png, 1024x685
-
Upconverted to linear light (100 nits), compressed to ASTC 6x6 .KTX2, uncompressed to ASTC 6x6 HDR, decoded and converted back to sRGB:
Command line:basisu -hdr_6x6_level 8 -debug_images -stats -debug C:\dev\test_images\rain_1k.png
-
BC6H (8 bits/pixel)
-
ASTC 6x6 HDR intermediate
.KTX2 file size: 228,856 bytes, 2.61 bits/pixel
Command line:basisu -lambda 10000 -hdr_6x6i_level 8 -debug_images -stats -debug C:\dev\test_images\rain_1k.png
-
ASTC 6x6 HDR intermediate
.KTX2 file size: 200,972 bytes, 2.29 bits/pixel
Command line:basisu -lambda 30000 -hdr_6x6i_level 8 -debug_images -stats -debug C:\dev\test_images\rain_1k.png
-
Original tng.png, 700x999
-
ASTC HDR 6x6 (3.56 bits/pixel)
.KTX2 file size: 299,392 3.43 bits/pixel
Command line:basisu -hdr_6x6_level 8 -debug_images -stats -debug C:\dev\test_images\tng.png
-
BC6H (8 bits/pixel)