Proximity sensor for automotive painting, Photosensor in semiconductor fabrication