inverted y axis of image, working towards shadowrays