Your eyes have two components involved with the actual light detection.
You have cones - these can determine color.
You have rods - these can't determine color, just the presence of light.
For this discussion we are talking about rods.
They basically wear out over time (decades) and your eyes become less and less able to see. One of the ways this manifests itself is that your ability to look at objects directly in front of you is greatly diminished by a wash of glare from more peripheral vision. You have a lot more rods in your peripheral vision
Two of the most common examples of this are night driving, where on-coming headlights overload the eye and result in a lot of glare. The other is trying to work on a computer with a window behind it. The light from the window will overpower you eyes more as your rods diminish and make it hard to see the screen.
I believe that the lights on in the room won't make much of a difference. the deterioration occurs over decades. Having brights lights or windows will exacerbate the issue but not actually contribute to it much in the first place.