Hi I am trying to render texture on a rectangle. I am using GL_CLAMP_TO_BORDER because I dont want texture to repeat itself.
glTextureParameteri(id, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER);
glTextureParameteri(id, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER);
I am expecting output to be something like this : Notice non-texels are grey which is its face color.
But I am getting this output :
Area mentioned in no 2 I guess can be resolved if I enable the blending but I am not getting any solution for Area 1. I know I havn't shared any code because I really can't ,is there any additional gl calls I need to make to resolve the issue ?