Ok, but if I create a texture from a JPG file What must I set In the D3DXCreateTextureFromFileEx(...) or in other functions or render states, wich parameters, and to what? And how much is it slower as the uncompressed textures?
A JPEG file will be uncompressed on loading, as will all other files. Only DDS files with native DXT compression won't be decompressed.
Quote:Original post by ET3D
A JPEG file will be uncompressed on loading, as will all other files. Only DDS files with native DXT compression won't be decompressed.
To expand on this: For a compressed texture to be usable, the video hardware must be able to decompress it. Currently, the only widely supported compressed texture format in hardware is DXT, though individual cards may expose more formats through the fourCC codes.
I don't know of any video hardware with support for JPEG-compressed textures.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement