Fogging and icing of surfaces is an issue that abords applications as diverse as the medical, the automotive, or the photovoltaic field. Even, it can represent a risk when present lenses and windshields, it dangerously reduces the field of view for the user. To address this problem, surface treatments based on coatings and chemical modifications of the surface have been developed. However, they present some drawbacks including the use of hazardous reagents, production of harmful residual products, and lose of properties.