Jump to content
Posted 16 May 2013 - 12:34 AM
Posted 16 May 2013 - 01:58 PM
The third parameter isn't the number of mipmaps, it is the number of channels (which in your case will be 3, since you specify RGB).
The number of mipmaps should be roughly floor( log2( min(width, height) ) ).
Provided, of course, that your image has mipmaps, and SOIL is actually loading them. I haven't stared at the code in a while, but I seem to remember that one needed to use SOIL itself to do the upload to OpenGL, all in one shot, and specify the SOIL_FLAG_DDS_LOAD_DIRECT flag...
Posted 20 May 2013 - 12:46 PM
Edited by vladic2000x, 20 May 2013 - 12:59 PM.