Hard glassy coating