ref_gl: do not apply overbright color if lightscale correction used
This commit is contained in:
parent
6c77608c34
commit
0f3359fc05
1 changed files with 2 additions and 1 deletions
|
@ -927,7 +927,8 @@ static void R_BlendLightmaps( void )
|
|||
if( gl_overbright.value )
|
||||
{
|
||||
pglBlendFunc( GL_DST_COLOR, GL_SRC_COLOR );
|
||||
pglColor4f( 128.0f / 192.0f, 128.0f / 192.0f, 128.0f / 192.0f, 1.0f );
|
||||
if(!( r_vbo.value && !r_vbo_overbrightmode.value ))
|
||||
pglColor4f( 128.0f / 192.0f, 128.0f / 192.0f, 128.0f / 192.0f, 1.0f );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue