#[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.1,
gamma: 2.2,
dust_intensity: 0.15,
}
}
pub fn eclipse() -> Self {
Self {
exposure: 0.4,
gamma: 2.2,
dust_intensity: 0.05,
}
}
}