The Physics of Ultraviolet Photodeposition