rlidwka / bevy_atmosphere

A procedural sky plugin for bevy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.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.

About

A procedural sky plugin for bevy

License:Apache License 2.0


Languages

Language:Rust 91.3%Language:WGSL 8.7%