/bevy_atmosphere

A procedural sky plugin for bevy

Primary LanguageRustMIT LicenseMIT

bevy_atmosphere

A procedural sky plugin for bevy

Crates.io docs.rs

Example

use bevy::prelude::*;
use bevy_atmosphere::*;
fn main() {
    App::new()
        .insert_resource(bevy_atmosphere::AtmosphereMat::default()) // Default Earth sky
        .add_plugins(DefaultPlugins)
        .add_plugin(bevy_atmosphere::AtmospherePlugin { dynamic: false }) // Set to false since we aren't changing the sky's appearance
        .add_startup_system(setup)
        .run();
}
fn setup(mut commands: Commands) {
    commands.spawn_bundle(PerspectiveCameraBundle::default());
}

Thank you kbieganski for doing the 0.2.0 update!

Big thanks to glsl-atmosphere and bevy_skybox, which I essentially tried to merge together

Also thanks to those on the Bevy Discord who took the time to help me