OpenGL2: Add option in code for alternate overbright method.
This commit is contained in:
parent
e5aabdaff6
commit
92d4b20129
5 changed files with 35 additions and 7 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue