Phase separation in sol-gel solutions produces microscopic round surface features. Random arrays of domes provide antireflection and light scattering properties Hierarchical structures from single coating show potential for superhydrophobicity. Developed spraying method can be used for coating large areas.