Browse Source

ref_gl: do not apply overbright color if lightscale correction used

master
mittorn 9 months ago
parent
commit
0f3359fc05
  1. 3
      ref/gl/gl_rsurf.c

3
ref/gl/gl_rsurf.c

@ -927,7 +927,8 @@ static void R_BlendLightmaps( void )
if( gl_overbright.value ) if( gl_overbright.value )
{ {
pglBlendFunc( GL_DST_COLOR, GL_SRC_COLOR ); 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 else
{ {

Loading…
Cancel
Save