Hello,
I have two problem which are related to loading DDS files as textures.
First, DDS is a DirectX format whose image origin is top-left. When trying to upload such an image into OpenGL, the image is flipped. Can anything be done about that whitout touching the texture coordinates? Is it possible to vertically "flip" the DXTC image data in compressed form?
Second problem is when trying to use NPOT+DXTC. The s3tc specs say:
But when trying to actually make use of this, I get GL errors. I have to make the textures power-of-two first. Has anyone experienced the same?10. How does this extension interact with specific texture compression
extensions such as EXT_texture_compression_s3tc?
STATUS: RESOLVED
RESOLUTION: It does not. If both this extension and
EXT_texture_compression_s3tc are supported, applications can safely
load NPOT S3TC-compressed textures.



{ // for each block