Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support using texture arrays loaded from KTX2 files #206

Open
inodentry opened this issue Aug 4, 2022 · 0 comments
Open

Support using texture arrays loaded from KTX2 files #206

inodentry opened this issue Aug 4, 2022 · 0 comments
Assignees

Comments

@inodentry
Copy link
Contributor

The KTX2 format natively supports array textures (and also mipmaps, texture compression, etc). Bevy should be capable of loading such files and natively representing them as an Image asset with multiple array layers.

This seems like a nice way of storing tileset assets. Better than a flat spritesheet atlas.

bevy_ecs_tilemap might want to support this.

It would have to detect when the Image asset is already an array texture, and skip the "atlas to array conversion" code, and use the array layers instead.

@bzm3r bzm3r self-assigned this Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants