Progress Report
What You've learned
- Defining a custom material
- With the
AsBindGroupderive and its attributes to handle data transfer to the GPU - Implementing the
Material2dtrait to define the shader - And some basic WGSL
- With the
- And using that material
- Adding it to the app with the
Material2dPlugin - With the
Mesh2dcomponent to define the shape - And the
MeshMaterial2dcomponent to define the material
- Adding it to the app with the
- Enabling bloom
- How to enable bloom on the camera
- How to have a color display a bloom effect by going higher than
1.0on one of the color channel
- And getting a little more effects with particles
- Using a third party plugin,
bevy_enoki
- Using a third party plugin,
Going Further
Shaders and rendering is a very big domain. You can start by reading the Book of Shaders and the Learn WGPU tutorial.