You really need to take this up with your direct manager at first and if that fails your companies health and safety officer (these go by different names depending on locale).
If there is a danger to your eyesight you absolutely have every right to want to have this problem rectified.
Speak to your manager about this.
Approaching this by wearing a hat or sunglasses will not help, you'll probably be ridiculed by your coworkers and you could even find yourself in trouble with HR for being a distraction or some other reason (they can find plenty if they want).
Having said that I know a guy (in my old career) who was not given wet weather gear and was told to wait so he brought his daughters Minnie Mouse umbrella and used it in public. He did it to make a mockery of himself and was protesting management. He only had to do that a couple of times (in public) and he was given brand new equipment.
Obviously this is not advice, just a fun story about a similar situation. Unless you want to make a mockery of the situation you're best bet is to speak to management and see what can be done.
If all else fails (and your eyesight is at risk) might be time to move on to another job.