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 packed textures of different color spaces #603

Open
UX3D-haertl opened this issue Feb 12, 2025 · 0 comments
Open

Support packed textures of different color spaces #603

UX3D-haertl opened this issue Feb 12, 2025 · 0 comments

Comments

@UX3D-haertl
Copy link
Contributor

This is a low priority issue.
Textures in glTF can be reused in any material property which expects textures. This means, that the same texture might be used for different purposes with different color spaces, e.g. as baseColorTexture and occlusionTexture.
In this case we need to upload the texture to the gpu twice, once with RGBA format and once with sRGBA format.
Currently, only texture packing in the same color space/format is supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant