Thin film optics