Transport properties of vertical heterostructures under light irradiation