(Moto)cross goggles are sturdy, can take a beating and are attached above the helmet with a weather and dirt resistant elastic band. Wearing comfort is optimal, just like the protection of your eyes. Wind, rain, insects, dirt, mud ... with a well-fitting goggle nothing should bother you.
There are even cross goggles with tinted lenses to protect you from the sun. The rubber bands that secure the goggles to the helmet are adjustable.
Mud devils and sliding hooligans: a good pair of cross gogglesis a necessary but very interesting investment.