well… you gotta compute the half pixel offset. something like this…
but… it doesn’t work as well as i thought it would. (maybe for lowres rendering.) so… you gotta wait for somebody with a better idea.