callistos 0.0.2

Callisto celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct PbrMaterial {
    pub albedo: [f32; 3],
    pub roughness: f32,
    pub metallic: f32,
}

impl PbrMaterial {
    pub fn dark_terrain() -> Self {
        Self {
            albedo: [0.18, 0.17, 0.16],
            roughness: 0.94,
            metallic: 0.0,
        }
    }

    pub fn icy_bright_patch() -> Self {
        Self {
            albedo: [0.55, 0.58, 0.62],
            roughness: 0.45,
            metallic: 0.0,
        }
    }

    pub fn crater_floor() -> Self {
        Self {
            albedo: [0.26, 0.25, 0.24],
            roughness: 0.88,
            metallic: 0.01,
        }
    }
}