I’ve little OpenGL problems!
I am building an OpenGL application in Delphi using TGA textures files(480x480). I use my BuildList function to create pieces of this big texture. Every thing works fine! But the problem is: “when i’ve loaded the textures and paint them on screen, (1.) there are some (ugly) lines around my texture (2.) and my texture is smooth (I DONT LIKE THAT)”
see my screenshot here :
Load Texture with:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
Draw the tile with:
Can you help me to disable this smooth textures and these (ugly) soft lines??
Thanks for your veryvery much for any help!