DDS texture loading

How to load dds texture file into OpenGL 2dtexture texture or cubic map?

+3
source share
3 answers

I believe that you are using the glCompressedTexImage2DARB method and its friends.

This PDF seems to contain some promising information that may be useful to you.

+4
source

Depending on your needs, the DevIL library can take care of loading OpenGL with the contents of the DDS file.

+3
source

DDS , glCompressedTexImage2DARB(), , glTexImage2D. mipmap, DDS mipmaps, , .

, DDS, MSDN SDK DirectX. , .

, DDS , OpenGL . , , , DDS . , , DXT1/3/5, , 4x4 .

0

Source: https://habr.com/ru/post/1703672/


All Articles