Crate bevy_fast_tilemap
source ·Expand description
GPU-accelerated tilemap functionality for bevy. Aims at rendering tilemaps with lightning speed by using just a single quad per map (layer) and offloading the actual rendering to GPU. This should be faster than most other bevy tilemap implementations as of this writing.
§Features
- Very high rendering performance (hundreds of fps, largely independent of map size)
- Tilemaps can be very large or have many “layers”
- Rectangular and isometric (axonometric) tile maps.
- Tile overlaps either by “dominance” rule or by perspective
- Optional custom mesh for which the map serves as a texture
§How it works
The principle is probably not new but nonetheless quite helpful: The whole tilemap (-layer) is rendered as a single quad and a shader cares for rendering the correct tiles at the correct position.
Re-exports§
pub use crate::bundle::MapBundleManaged;
pub use crate::bundle::MapBundleUnmanaged;
pub use crate::map::Map;
pub use crate::map::MapAttributes;
pub use crate::map::MapIndexer;
pub use crate::map::MeshManagedByMap;
pub use crate::plugin::CustomFastTileMapPlugin;
pub use crate::plugin::FastTileMapPlugin;
pub use crate::tile_projection::TileProjection;
pub use crate::tile_projection::AXONOMETRIC;
pub use crate::tile_projection::IDENTITY;