Wafer-scale-optics