OpenGL2: Add option in code for alternate overbright method.

This commit is contained in:
SmileTheory 2015-12-08 05:17:05 -08:00
parent e5aabdaff6
commit 92d4b20129
5 changed files with 35 additions and 7 deletions

View file

@ -2855,7 +2855,11 @@ void R_SetColorMappings( void ) {
int inf;
// setup the overbright lighting
#if defined(USE_OVERBRIGHT)
tr.overbrightBits = r_overBrightBits->integer;
#else
tr.overbrightBits = 0;
#endif
// allow 2 overbright bits
if ( tr.overbrightBits > 2 ) {