diff --git a/content/news/040/index.md b/content/news/040/index.md index b9f3ae09b..a256048de 100644 --- a/content/news/040/index.md +++ b/content/news/040/index.md @@ -647,6 +647,57 @@ affordable for median end devices. [hikari-docs]: https://docs.rs/bevy-hikari [hikari-github]: https://github.com/cryscan/bevy-hikari +### [Bevy Vfx Bag] + +![Bevy vfx bag gif](underwater.gif) +_A composite effect applied to Bevy's 3D shapes example._ + +`bevy-vfx-bag` ([GitHub][bevy-vfx-bag-gh], [docs.rs][bevy-vfx-bag-docs]) +is a visual effects library for the [Bevy][bevy] game engine. + +It had its initial 0.1.0 release aligned with Bevy's recent 0.9.0 release. +Each effect has a plugin and effects are applied in order: + +```rust +// Shows an example of adding three post processing effects: +app + .add_plugin(BevyVfxBagPlugin) // Always needed + .add_plugin(RaindropsPlugin) // Shows rain on-screen + .add_plugin(ChromaticAberrationPlugin) // Skews color channels + .add_plugin(LutPlugin) // Allows using a look-up table to remap colors for + // having a specific "feel" to your game + .run(); +``` + +The camera which receives these effects is marked as such: + +```rust +commands + .spawn(Camera3dBundle { ... }) + .insert(PostProcessingInput) // Marks this camera for post processing usage +``` + +Effect settings can be changed at runtime: + +```rust +fn update(time: Res