Homography texture transform

i think you have to pass the homography matrix as an extra pin into a pixel shader and apply it to the texture coordinates which should be (u, v, 0, 1) and then divide by w to get the correct u and v after the transformation. its important to do it in the pixel shader because otherwise you will just get a linear interpolation which will not match the perspective transformation.