Uses new Rust 2021
|0.2.0||Apr 22, 2022|
|0.1.0||Jan 14, 2022|
#388 in Game dev
59 downloads per month
Materials for sprites in Bevy
This bevy plugin changes the
bevy_sprite implementation using a material.
You might be interested in bevy_ui_material which is a similar plugin for
Sprite component is identical to
bevy_sprite but without the
SpriteBundle component bundle replaces the
texture field (
Handle<Image>) by a
material field (
The goal of this plugin is to allow seamless edition of sprites
color which was removed with bevy 0.6.
This is very useful if you have many sprites and you have, for example, various themes and don't want to query every sprite to change its color.
If you have a dedicated artist, you probably don't use the sprite
color tinting field anyway, so the base implementation is perfect for you.
This is specifically if you want to "massively update" the sprite
color and maybe the
texture as well.
This plugin is very straightforward, and simply plugs itself in the
bevy_sprite render pipeline (in the extraction stage).
This system might be slower than the base implementation, because of the extra
Also, there might be compatibility issues, so feel free to open issues or merge requests.
This plugin should work fine if you use both the plugin and the base sprite implementation