Changed method of getting render colours to be a mean of all pixels in
texture