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

toktx should allow creation of 3D textures with --depth 1 #609

Closed
toomuchvoltage opened this issue Aug 3, 2022 · 0 comments · Fixed by #610
Closed

toktx should allow creation of 3D textures with --depth 1 #609

toomuchvoltage opened this issue Aug 3, 2022 · 0 comments · Fixed by #610

Comments

@toomuchvoltage
Copy link
Contributor

Hi there,

Opening this as per my correspondence with @MarkCallow via email. This is effectively similar to #596 but relates to 3D textures created with toktx. You should be able to create 3D textures with --depth 1 similar to how 2D texture arrays can be created with --layers 1. This helps applications that may query texture depth at runtime via textureSize(gsampler3D, ...) and branch behavior based on the .z value in the shader.

Kind regards,
Baktash.

MarkCallow added a commit that referenced this issue Aug 3, 2022
KaperD pushed a commit to KaperD/KTX-Software that referenced this issue Feb 21, 2024
KaperD pushed a commit to KaperD/KTX-Software that referenced this issue Feb 22, 2024
KaperD pushed a commit to KaperD/KTX-Software that referenced this issue Feb 22, 2024
KaperD pushed a commit to KaperD/KTX-Software that referenced this issue Feb 22, 2024
KaperD pushed a commit to KaperD/KTX-Software that referenced this issue Feb 22, 2024
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.

1 participant