A simple solution would be to have liquid crystals on the glasses, like electronic auto-darkening sunglasses or welding helmets. Of course, this could only change the light level of the entire field of view at once (since it's way too close to your eye to focus), but that's still useful for many things.