The in-situ preparation of siloxane particles provides a bi-hierarchical surface roughness and a good connection between the siloxane particles and the textile, which is further strengthened by the use of fluorinated alkoxy silanes. The combination of the proposed solution enables improved wash-resistant properties for the coatings.