Bonzomatic icon indicating copy to clipboard operation
Bonzomatic copied to clipboard

DDS Mipmap Levels

Open St0fF-NPL-ToM opened this issue 9 years ago • 2 comments

Hey Gargaj,

using DX9 version. Reading the code it looks like mipmap levels within DDS textures are read just as D3DXCreateTextureFromFileEx would load them with MipLevels == 0. But somehow using tex2Dlod and changing the second argument's ".w" manually doesn't make a difference.

Intended behaviour?

Cheers, St0fF

P.S.: yes, don't use DDS. It was just for testing...

St0fF-NPL-ToM avatar Apr 20 '15 22:04 St0fF-NPL-ToM

I'm not against mipmaps, but I wasn't sure how to enable them in the SDL version so I made it consistently mipmapless across the board.

Gargaj avatar Apr 21 '15 14:04 Gargaj

Oh, I see. My guess would be: SDL/OpenGL: load or create them manually. (At least at work when dealing with EGL we always have to provide them manually).

When I have the time, I'll have a look at the SDL code.

St0fF-NPL-ToM avatar Apr 21 '15 14:04 St0fF-NPL-ToM