Water-repellent nanotextures found to have excellent anti-fogging abilities