Skip to main content

pbr_neutral_v1

Function pbr_neutral_v1 

pub fn pbr_neutral_v1(color: [f32; 3]) -> [f32; 3]
Expand description

Map non-negative scene-linear Rec.709 through the versioned PBR Neutral SDR transform.

Returns display-linear Rec.709 in [0, 1]. Keep the matching implementation in shaders/viewport/bloom.wgsl operation-for-operation aligned with this CPU oracle.