Make a seamless texture sampling over a rectangle transformed by affine 3×3 matrix
Question background: I need to align two images with the same resolution and display the alignment on an OpenGL canvas. So I prepared the vertices like so: float vertices[] = { // positions 0.0f, 0.0f, // bottom left width, 0.0f, // bottom right 0.0f, height, // top left width, 0.0f, // bottom right 0.0f, height, […]