pub fn compute_fog(
pitch: f64,
camera_distance: f64,
background_color: [f32; 4],
config: Option<&FogConfig>,
) -> ComputedFogExpand description
Compute fog parameters from camera state and optional user config.
This centralises the fog math that was previously duplicated in the WGPU and Bevy renderers.