bevy-voxel-data
Installation
SKILL.md
Bevy 0.19 — Voxel data (RON, palette, KTX2 atlas)
When to use this skill
- Defining a moddable block catalog in a text format authors can edit.
- Building a runtime palette keyed by
BlockId(u16/u32) for fast lookup during meshing. - Packing per-block textures into a single atlas so all chunks can share one material.
- Switching the atlas to KTX2 for GPU-friendly compressed delivery.
- Choosing a runtime chunk storage format (flat array, RLE, palette compression, hybrid).
- Optimising procedural world generation: extremity bound checking, noise upsampling, noise caching, cross-biome noise sharing.
- Surveying the Rust/Bevy voxel-crate ecosystem and its current gaps before reaching for a dependency.
Canonical end-to-end flow
1. Define blocks in RON (assets/blocks.ron). id is the immutable,
serialized identity; name is presentation text and may change: