Jump to content

  • Log In with Google      Sign In   
  • Create Account


mentaman

Member Since 07 Oct 2011
Offline Last Active Apr 18 2012 09:49 AM

#4921979 border texture

Posted by mentaman on 14 March 2012 - 08:39 AM

i had the same ;p
try add something like this after image loading

	glBindTexture(GL_TEXTURE_2D, textur[fNum]);
	glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
	glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);

Thanks, I had already tried that.
It doesn't work.

So you've got many small images packed next to each other in a single texture? And when you render quads using these sub-images, the edges of the next sub-image bleed into your quad?

I didn't understand what you asked.


PARTNERS