Skip to content

KTX2Loader: Support ETC2, BCn, and ASTC 4x4 sRGB #31155

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

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented May 23, 2025

Updates KTX2Loader to support more GPU compression formats, and replaces the existing KTX2 example.

The new example should be better at explaining and testing the available KTX2 compression types. I've updated all previous .ktx2 sample files. The new textures are much smaller, each only 1-8kb, see https://github.com/donmccurdy/KTX2-Samples. Samples cover common formats, with "srgb" and "srgb-linear" color spaces. If the general approach looks OK, future PRs can extend the example to include array textures, cube textures, 3D textures, and perhaps other color spaces.

Preview

ktx2_preview

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

Successfully merging this pull request may close these issues.

1 participant