Hi,OpenGL guru:
there is a 2D texture mapped to a rectangle, and I set the texture parameter as follows:
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
When I shift one texel the texture coordinate to the left side, the rectangle right border's color is same to the color of the nearnest texel.
But I want the extension part's color to be zero.
Do I make myself clear? And can anyone come up with any suggestions?
Thanks a lot.



