Skip to content

Cannot create 3D files with toktx #454

@pezcode

Description

@pezcode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions