GL texture trouble

Started by
11 comments, last by Ilici 21 years ago
You can't use GL_LINEAR_MIPMAP_LINEAR, for GL_TEXTURE_MAG_FILTER.
You can only use GL_LINEAR or GL_NEAREST. Mipmapp filtering parameters are only for the minification settings.


[edited by - Brian Jones on April 2, 2003 5:38:18 PM]
I don't have a signature
Advertisement
gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGBA4, width, height, GL_RGBA, GL_UNSIGNED_BYTE, TexData)

should work really well.. do not however change the other GL_RGBA to another value.. (as long as your indata is 32bit)
solved it
actually the problem was that the resizing was causing a problem
coz the texture was 257x257. so i made the tex 256x256 and it works

/*ilici*/

This topic is closed to new replies.

Advertisement