What make and model?
I have not sat in a modern car where this have been a problem, ever.
I drive a model 3 Tesla with glass roof and there is simple no issues with Sun glare from the sunsglasses like filter on the glass roof.
Indoors most people indeed love windows, even moreso if they are roof windows. I agree dont hang a spotlight in your face, but that is hadly the same as the Sun, otherwise how do people their houses walking, running biking without roofs?