diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-09-16 23:41:04 -0700 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:34 +0100 |
commit | b46c14676aca4fd8d013be565001c0a2f1fe4815 (patch) | |
tree | 7bcdfd18ef49dcfdb82b5dc85e1390b13543b208 /src/renderergl2/tr_shade.c | |
parent | a204b2fbd9b9efc8ae5a65c1fc3abdf1a3042849 (diff) |
OpenGL2: Some shader cleanup
Diffstat (limited to 'src/renderergl2/tr_shade.c')
-rw-r--r-- | src/renderergl2/tr_shade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c index 18ecbc9b..f679ddee 100644 --- a/src/renderergl2/tr_shade.c +++ b/src/renderergl2/tr_shade.c @@ -1212,7 +1212,7 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input ) vec[3] = 0.0f; GLSL_SetUniformVec4(sp, UNIFORM_LIGHTORIGIN, vec); - GLSL_SetUniformFloat(sp, UNIFORM_LIGHTRADIUS, 999999.0f); + GLSL_SetUniformFloat(sp, UNIFORM_LIGHTRADIUS, 0.0f); } if (pStage->alphaGen == AGEN_PORTAL) |