/bevy_atmosphere

A procedural sky plugin for bevy

Primary LanguageRustApache License 2.0Apache-2.0

bevy_atmosphere logo

crates.io crates.io docs.rs Discord

A procedural sky plugin for the Bevy game engine.

basic example image

use bevy::prelude::*;
use bevy_atmosphere::prelude::*;

fn main() {
    App::new()
        .add_plugins((DefaultPlugins, AtmospherePlugin))
        .add_system(Startup, setup)
        .run();
}

fn setup(mut commands: Commands) {
    commands.spawn((Camera3dBundle::default(), AtmosphereCamera::default()));
}

cycle example image

Getting Started

To learn more, read the docs or check out the examples.

For more information on the technicalities, you can check out the technical docs or check out my blog.

Bevy compatibility

bevy bevy_atmosphere
0.14 0.10
0.13 0.9
0.12 0.8
0.11 0.7
0.10 0.6
0.9 0.5
0.8 0.4
0.7 0.3
0.6 0.1

🚧 Warning: Incompatible with WebGL 🚧

Versions 0.4 and higher break compatibility with WebGL by using a compute shader for efficiency.