I`m using Alpha Testing for something like fencing but it doesn`t really matter.
Here`s 2 pictures->with Alpha testing and without->
http://www.geocities.com/cippyboy_7/alphatest0.jpg
http://www.geocities.com/cippyboy_7/alphatest1.jpg
My problem would be->
Why does the Alpha Test Mess up the texture filtering ?
It seems very unfiltered when Alpha Testing is used and in both cases I use
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_LINEAR);
//and
gluBuild2DMipmaps(GL_TEXTURE_2D,GL_RGB, pImageData->sizeX, pImageData->sizeY, GL_RGB, GL_UNSIGNED_BYTE, pImageData->data);
//for the first pic and
//gluBuild2DMipmaps(GL_TEXTURE_2D,GL_RGBA,pImageData->sizeX, pImageData->sizeY, GL_RGBA, GL_UNSIGNED_BYTE, data);
//for the second one
//and the alpha test enabled and set to
glAlphaFunc(GL_GREATER,0.1f);
Note that I have the original pixel data in ''pImageData->data'' and in ''data'' the pixels in RGBA format

and even if I remove the Alpha Test, the texture is still... not rendered as the original RGB texture.
Thanks in advance .