A procedural sky plugin for the Bevy game engine.
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()));
}
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 | 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 |
Versions 0.4 and higher break compatibility with WebGL by using a compute shader for efficiency.