2

Opengl texture coordinate [0,0] is located in a lower left corner. Does DDS file contain informations about a data layout (if data begin in top left or bottom left corner) or there is one fixed layout ? For example ktx file contains such information.

Irbis
  • 1,432
  • 1
  • 13
  • 39

1 Answers1

2

The DDS file format does not contain information about where the origin is. Since DDS is a DirectX format, it will usually be stored with a top-left origin, but there is no guarantee for that.

You can check out which information is stored in a dds file by checking the Microsoft Docs: Programming Guide for DDS, especially the DDS_HEADER struct

BDL
  • 21,052
  • 22
  • 49
  • 55