3 unstable releases
| 0.2.1 | Apr 10, 2026 |
|---|---|
| 0.2.0 | Apr 10, 2026 |
| 0.1.0 | Apr 8, 2026 |
#5 in #ktx2
Used in ibl_cli
140KB
3.5K
SLoC
ibl_core
ibl_core is the renderer-agnostic Rust core for the ibl-baker workspace.
It owns HDR/EXR input handling, bake pipeline execution, output encoding, and validation logic.
Scope
The crate is responsible for:
- environment source loading for latlong HDR/EXR/LDR inputs and 6-face cubemap sets
- latlong-to-cubemap conversion and cubemap-to-cubemap resampling
- specular prefilter generation
- irradiance generation
- BRDF LUT generation
- mip chain generation
.iblacontainer read/write and validation- KTX2 cubemap export (BC6H + zstd, via the
ktx2_writercrate)
It stays independent from renderer-specific runtime upload paths.
Relationship To Other Packages
crates/ibl_cliexposes the public command-line workflow on top of this crate. Seecrates/ibl_cli/README.mdfor CLI options and output format details.crates/ktx2_writeris the write-only KTX2 serializer used internally for KTX2 output. Seecrates/ktx2_writer/README.mdfor its narrow serialization scope.packages/ibla-loaderis the parser-only TypeScript reader for.iblafiles.packages/ktx2-loaderis the narrow TypeScript reader foribl-bakerKTX2 cubemap files.
The .ibla binary format is defined in docs/format-spec.md.
Dependencies
~59MB
~563K SLoC