Gamma correction resets palette

In Doom, when acquiring the radiation suit or berserk, or when taking damage or gathering items, the colors on the screen are changed by changing the palette. Unlike changing the colormap, these actions affect the entire display (including the status bar, sky, and menus). However, hitting F11 (which increments the gamma correction) will reset to the default palette 0.

This glitch is most useful for immediately giving you normal vision after acquiring a berzerk powerup, or radiation suit. In rare instances it can be useful clearing the yellow tint from picking up too many items at once, or clearing the red tint from acquiring massive amount of pain, although in both cases the palette will shift down to the next less-tinted color (briefly) thus re-obscuring your view. It can also be used while the game is paused to give you a clear view of the menus.

Detrimentally, if used after acquiring the radiation suit, a player might forget they have it, or not have sufficient warning that it is wearing out.

This bug does not affect the color changes caused by the invulnerability powerup, as that uses the colormap to change the colors.