europas 0.0.3

Europa 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 pristine_ice() -> Self {
        Self {
            albedo: [0.88, 0.90, 0.93],
            roughness: 0.15,
            metallic: 0.0,
        }
    }

    pub fn chaos_terrain() -> Self {
        Self {
            albedo: [0.50, 0.48, 0.45],
            roughness: 0.80,
            metallic: 0.02,
        }
    }

    pub fn lineae_crack() -> Self {
        Self {
            albedo: [0.40, 0.35, 0.30],
            roughness: 0.90,
            metallic: 0.01,
        }
    }
}