#[derive(Debug, Clone, Copy, PartialEq)]
pub struct ShaderData {
pub exposure: f32,
pub gamma: f32,
pub dust_intensity: f32,
}
impl ShaderData {
pub fn terrain() -> Self {
Self {
exposure: 1.2,
gamma: 2.2,
dust_intensity: 0.02,
}
}
pub fn plume() -> Self {
Self {
exposure: 0.6,
gamma: 2.2,
dust_intensity: 0.30,
}
}
}