Blast-tinting

Blast-tinting was a mechanism in starship cockpits that tinted the viewports according to the amount of light outside. This prevents the occupants from being blinded by explosions. Bear in mind, though, that not all ships were equipped with this feature.