summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_shade.c
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2014-02-20 17:01:50 -0800
committerTim Angus <tim@ngus.net>2014-06-17 17:43:40 +0100
commit24b32bee94af9c0a3dc5846bacc515b18df4a26d (patch)
treef194f1cbacc06ddedd1e71e15662c779aa3e1ccc /src/renderergl2/tr_shade.c
parent900d6d1531811a4847fa1978e4914169ff7ff603 (diff)
OpenGL2: Remove and force r_softOverbright.
Diffstat (limited to 'src/renderergl2/tr_shade.c')
-rw-r--r--src/renderergl2/tr_shade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c
index 09a8e6e4..7d22944d 100644
--- a/src/renderergl2/tr_shade.c
+++ b/src/renderergl2/tr_shade.c
@@ -603,7 +603,7 @@ static void ComputeShaderColors( shaderStage_t *pStage, vec4_t baseColor, vec4_t
}
// multiply color by overbrightbits if this isn't a blend
- if (r_softOverbright->integer && tr.overbrightBits
+ if (tr.overbrightBits
&& !((blend & GLS_SRCBLEND_BITS) == GLS_SRCBLEND_DST_COLOR)
&& !((blend & GLS_SRCBLEND_BITS) == GLS_SRCBLEND_ONE_MINUS_DST_COLOR)
&& !((blend & GLS_DSTBLEND_BITS) == GLS_DSTBLEND_SRC_COLOR)