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

Cannot create 3D files with toktx #454

Closed
pezcode opened this issue Jul 27, 2021 · 1 comment · Fixed by #468
Closed

Cannot create 3D files with toktx #454

pezcode opened this issue Jul 27, 2021 · 1 comment · Fixed by #468

Comments

@pezcode
Copy link

pezcode commented Jul 27, 2021

Hello 👋

I'm trying to create a 3D texture using:

toktx --t2 --depth 3 out.ktx2 1.png 2.png 3.png

and toktx prints the following error:

toktx failed to create ktxTexture; KTX error: Operation not allowed in the current state.

Is there some setting or incompatibility I should know about? Creating a 2D array texture with the same input images works, so I'm assuming they are not the problem.

Edit: It might be worth mentioning that --depth 1 does not produce this error

@MarkCallow
Copy link
Collaborator

Actually creating a 2D array texture didn't work either. The output file would not have been an array texture.

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 a pull request may close this issue.

2 participants