bevy_atmosphere logo

bevy Crates.io Crates.io docs.rs MIT/Apache 2.0 Discord

A procedural sky plugin for the Bevy game engine.

"basic" Example

basic example image

```rust use bevy::prelude::; use bevy_atmosphere::prelude::;

fn main() { App::new() .addplugins(DefaultPlugins) .addplugin(AtmospherePlugin) .addstartupsystem(setup) .run(); }

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

"cycle" Example

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.

🚧 Warning: Incompatible with WebGL 🚧

Versions 0.4 and higher break compatibility with WebGL by using a compute shader for efficiency. WebGPU should resolve this when shipped.

As of writing, Bevy uses WebGL internally. A custom fork can be used to enable WebGPU in Bevy and feature flags can be used to enable WebGPU in most browsers.

License

bevy_atmosphere is dual-licensed under MIT and Apache-2.0! That means you can choose to use bevy_atmosphere under either for your project.

0.6 Change Log