Texture has weird "green" lines

Started by janr, April 23, 2021, 09:52:18

Previous topic - Next topic

janr

Hello,
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,
Jan

Electronics Boy

Hey,

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.

Regrads,
Electronics boy(Nikunj)