A procedural sky plugin for the Bevy game engine.
"basic" Example
use *;
use *;
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.4 Change Log
- To change the sky simulation parameters, you would add/update an
Atmosphereresource with custom values. - The plugin doesn't just pick the first camera, but can be used on select cameras using the
AtmosphereCameracomponent, which holds an optional render layer for the spawned skybox to be on. - The plugin will automatically create skyboxes for atmosphere cameras during the
ATMOSPHERE_INITstartup stage, which can be disabled by turning off the "automatic" feature. - Created skyboxes now have the
AtmosphereSkyBoxcomponent. Only skyboxes with the component and that have a parent withAtmosphereCamerawill have their rotation corrected. - To change the resolution, you can add an
AtmosphereSettingsresource and set theresolutionfield (which should be a multiple of 8). This could be used as part of quality settings in games.
0.4.1 Patch
- Removed
ATMOSPHERE_INITstage and "init" feature. - Added new "detection" feature that checks for new
AtmosphereCameracomponents each frame, instead of just at startup. (Removal detection will be added in a future release) - Removed unnecessary "radsort" dependency.
- Made removing
AtmosphereandAtmosphereSettingsresources set back to default. settingsexample now shows removingAtmosphereSettings.- Added files to
package.excludeofCargo.toml, in order to reduce package size.