PDA

View Full Version : GL_DECAL makes white border around texture



Mctittles
06-25-2011, 11:23 AM
Hello. I'm using a texture as a fullscreen background in my program so I assumed GL_DECAL would make the most sense for something not blended with anything else.

However when I set GL_DECAL mode the texture has a tiny white border around it. With GL_MODULATE there is no such border.

Any idea why?

Dark Photon
06-26-2011, 02:45 PM
Set wrap modes to GL_CLAMP_TO_EDGE rather than GL_CLAMP?