Collection of tools for working with Bevy Texture Atlases.
render
and bevy_asset
now.TextureAtlasPaddedBuilder
.MergeSpritesExt
on TextureAtlas
.TextureAtlas
s into a single larger TextureAtlas
.TextureAtlasBuilder
, TextureAtlasPaddedBuilder
that automatically adds border padding to sprites.To use this crate, add this line to the [dependencies]
section of your project's Cargo.toml
file:
toml
bevy_texture_atlas_tools = "0.5"
#
Minimal example that builds a texture atlas with 8 x 8 padding around each sprite, run with:
cargo run --example padded_atlas