mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-02 10:14:42 +00:00
ref_gl: do not apply overbright color if lightscale correction used
This commit is contained in:
parent
6c77608c34
commit
0f3359fc05
@ -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…
x
Reference in New Issue
Block a user