Subpixel sampling