Skip to content

Aceeri/bevy_atmosphere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
            sky_radius: 10.0,
        })
        .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

About

A procedural sky plugin for bevy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 70.3%
  • GLSL 29.7%