Skip to main content

Module deferred_resolve

Module deferred_resolve 

Source
Expand description

Deferred resolve CPU reference oracle and continuous EMF spectral PBR integration. Deferred resolve CPU reference oracle and continuous EMF spectral PBR integration.

Structs§

DeferredCameraParams
Frame and camera parameters required for deferred resolve.
GBufferPixel
G-Buffer pixel inputs for the resolve pass.
ResolvedLight
Light source parameters matching the GPU Light struct.

Constants§

DEFERRED_RESOLVE_WGSL

Functions§

evaluate_cmf_xyz
Wyman et al. (2013) analytic Gaussian sum CMF evaluations for 4 hero wavelengths.
evaluate_deferred_resolve_pixel
Evaluate a single pixel resolve through the decoupled spectral CMF pipeline. Zero heap allocations.
evaluate_spectral_reflectance
Jakob & Hanika (2019) 6-ALU cycle bounded spectral basis evaluation. Guaranteed physical reflectance in [0.0, 1.0] without negative ringing.
generate_hero_wavelengths
Generate 4 Hero Wavelengths in nm from spatiotemporal blue noise.
xyz_to_linear_srgb
Convert CIE 1931 XYZ to linear sRGB primaries (D65 white point).