You are right!
Game uses Glide gamma ramp which does not match nowadays gamma ramp settings. And indeed game uses ugly gamma trick for fade-in-out effects in menu which is causing problems.
Also setting gamma ramp via dx9\10\11 is quite a pain in arse that most devs cant still adress in many games these days.
1st i tried all the DX9+ Glide wrapper, i unchecked settings "use glide gamma ramp" or set gamma to 0.5-0.7 if possible, but non of this worked, every DX9+ wrapper used same high gamma.
So i tried OpenGL and DX7 powered glider wrappers with same settings, and you know what? It fixed problem!
So here the fix for you:
1) google for dgVoodoo (another option is GlideWrapper that uses OpenGL, but it was not updated since 2005 year and pretty slow and laggy) but dont get latest 2x version, look for 1.50 beta 2, its the last one with DX7 support and advanced features that missing in 2x. Download it
2) Remove all Glide[X].dll files from Tomb Raider root and dosbox folders, but dont touch Glide files with OVL extension.
3) Get only glide2x.dll and dgVoodooSetup.exe files from dgVoodoo archive and put them in dosbox folder.
4) Run dgVoodooSetup.exe. And set everything like this:
Platform: Windows
Valid instance of dgVoodoo: ,/ (thats the name of button you should press, means current dir)
Global tab:
Render API
DirectDraw7 & Direct3D7 (dont try DX9, it will not fix gamma!!!)
Driver device:
Select you card if you have many or leave Primary.
Display driver:
Direct3D T&L HAL (this have better performance and render quality, google for T&L to get idea why)
Screen mode:
Fullscreen or Windowed, whatever you like.
Depth:
32 bit
Glider tab:
Texture depth:
32 bit
Refresh rate:
Whatever
Texture options:
Force trilinear
Force bilinear
dont check anything else here or you will have missing textures or annoying shimmering on distant textures under certain angles
LFB:
Enable
Use harward cache
Use fastwrite
dont check anything else
Colorkey:
Auto
Texture mem:
Select maximum.
Resolution:
Whatever you like, but use 4:3 modes, as game dont scale properly in widescreen modes.
Gamma correction:
Not really what it claims to be, in fact this is brightness slider, which is uselss without contrast slider so leave it on 100%.
Mon freq:
whatever
Misc:
Force tripple buffering
Use hardware vertex
AND MOST IMPORTANT - UNCHECK NOW W-BUFFER and GLIDER GAMMA RAMP - last one will fix Tomb Raider gamma for, bu this will only work in DX7 mode, and does not work in DX9+ !!!
After this you TR in 3D sequences will work like charm! Except for case if you changed direct3D to anything else in Dosbox, this will cause hang and crash!
But there is a thing that may annoy you - video would switch and jump like crap to another res.
To fix this edit you TR conf file and to some things like this:
fullresolution=desktop # - select same resolution you did with
windowresolution=original
output=direct3d #and nothing else!
pixelshader=bilinear.fx
usescancodes=false
vmemsize=16
memsize=16
frameskip=0
aspect=true
linewise=false
char9=false
multiscan=false
scaler=2xsai forced
autofit=true
vsyncmode=on
vsyncrate=60 #or whatever refresh rate you monitor supports