Ktx flipped texture

Hi, I use the following functions to create opengl texture from ktx file:

  • ktxTexture_CreateFromNamedFile
  • ktxTexture_GLUpload

A texture is flipped during rendering. How can I check if ktx data is flipped and change it ?

Look for the “KTXorientation” tag in the KTX file’s metadata. For details, see:

1 Like