1. A method for manufacturing a lens of a polymer material, the method comprising producing in or on the lens at least one opaque zone having an optical function, by locally degrading a molecular structure of the polymer material using a beam of laser light.