Hello Guest

Texture has weird "green" lines

  • 1 Replies
Texture has weird "green" lines
« on: April 23, 2021, 09:52:18 »
I want to render this texture: .

When I render it using "GL_LINEAR" as the MAG_FILTER and GL_CLAMP as the GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T, it looks like this:

There are little green and little gray lines near the edges of the texture.

Why does this happen?

Best regards,


Offline Electronics Boy

  • *
  • 11
  • I'm a prgrammer :)
    • Electronics Boy
Re: Texture has weird "green" lines
« Reply #1 on: May 03, 2021, 06:29:19 »

Can you please post your code so that we can go through it and see the problem? You can only send the class for Texture loading, or all the code on github or similur platform.

Electronics boy(Nikunj)