OpenGL2: Some shader cleanup

This commit is contained in:
SmileTheory 2013-09-16 23:41:04 -07:00
parent 5985cca2e6
commit 42501db862
3 changed files with 57 additions and 43 deletions

View file

@ -1211,7 +1211,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)