neverever
2004.11.06, 08:55 PM
Ok, I have this 128x128 texture. When I choose the GL_LINEAR filter, the texture gets this pixel line at the top, which is identical to the pixel line at the bottom, except thinner.
When I choose GL_NEAREST, there isn't any line at all.
http://www.reversecode.com/dl/idevgamez/lava.zip
There are the two builds, one with GL_LINEAR and the other with GL_NEAREST. Why does GL_LINEAR add that 1/2 pixel(image scale) to the top of the image?
When I choose GL_NEAREST, there isn't any line at all.
http://www.reversecode.com/dl/idevgamez/lava.zip
There are the two builds, one with GL_LINEAR and the other with GL_NEAREST. Why does GL_LINEAR add that 1/2 pixel(image scale) to the top of the image?