KTX2: unsupported pixel formats R/RG/RGB linear/srgb #4592
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
Bevy version: Current main:
989fb8a7
What you did
Created some KTX2 files from source png files (grayscale, grayscale+alpha, RGB) using the
toktx
tool. No gpu/block texture compression, data is uncompressed (just zstd, but that's irrelevant). Tried to load them in Bevy.I created a little test project for reproducing the issue: https://github.com/inodentry/bevy_ktx2_test
It contains KTX2 files in a variety of formats. I also created linear versions in addition to sRGB, for good measure.
What you expected to happen
The textures can load and be used for rendering. The spawned sprites appear on-screen.
What actually happened
The text was updated successfully, but these errors were encountered: