Skip to main content

forge_ibl_bake/
lib.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2// forge-ibl-bake ยท deveraux.dev
3//! Public API for the forge-ibl-bake IBL texture pipeline.
4//!
5//! Load an equirectangular HDRI with `hdr::load_hdr_file`, configure with
6//! `BakeParams`, then call `bake_all` to emit KTX2 textures. Zero forge_* deps.
7//! PROVEN: all discriminator tests (white-furnace, BRDF boundary, determinism,
8//! monotonic blur, point-source, KTX2 roundtrip) gate the public API surface.
9
10pub mod bake;
11pub mod error;
12pub mod hdr;
13pub mod ktx2;
14pub mod sample;
15pub mod sh;
16
17pub use bake::{bake_all, bake_brdf_lut, bake_irradiance, bake_specular_env, BakeParams};
18pub use error::BakeError;
19pub use hdr::{load_hdr, load_hdr_file, HdrImage};