Yes, it's video_gamma, at the last stage:

http://manual.3dgamestudio.net/video_gamma.htm