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

Problem with textures non power-of-two size (v4.3.0-alpha3) #736

Closed
Yason83 opened this issue Jul 10, 2023 · 2 comments
Closed

Problem with textures non power-of-two size (v4.3.0-alpha3) #736

Yason83 opened this issue Jul 10, 2023 · 2 comments
Assignees

Comments

@Yason83
Copy link

Yason83 commented Jul 10, 2023

Windows11 + v4.3.0-alpha3
ktx create --format R8G8B8_SRGB --encode basis-lz --clevel 5 --qlevel 255 TeakVeneer_2K_albedo.jpg TeakVeneer_2K_albedo.ktx2
produces unpredictable effects when loading textures with dimensions that are different from a power-of-two size.
In the case of the "TeakVeneer.jpg" texture, no errors occurred, but the texture was not created.
In the case of the "TeakVeneer_512x510.jpg" texture, no errors occurred, but the texture was distorted.
TeakVeneer_512x510.zip

@Yason83
Copy link
Author

Yason83 commented Jul 11, 2023

It would be logical in both cases to either display an error indicating that the texture is not supported or correctly convert it.

@VaderDev
Copy link
Contributor

Related to #733.
The #735 PR will solve this issue too.

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