I’m new to OpenGL and i’m creating a 2D batch renderer. Everything works fine now, textures, scaling, blending, rotation, but, when an object is rotating somewhere on the screen, other objects get this weird texture glitching (bleeding?) on the corner:
I am using a sampler2D array for changing between textures in the shader.
Please ask for any code, if needed!