I have a tree model. The leaves are textures and I use mipmaps with the command:
glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER, MIPMAP_LINEAR);
Because the leafs are with alpha channel, I get a white silhouette around the leaf (probably from the adjacent transparent white pixels).
On the other hand, when I remove the above mipmap command and use GL_LINEAR instead of MIPMAP_LINEAR I get very very noisy leaves.
In addition the leafs blink when I move.
The reason is probably my z-buffer which has only 24 bits per pixel where my frustum is big.
How can I get smooth leaf textures without noise or blinking?