diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-22 11:00:30 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-22 11:00:30 -0700 |
commit | db091d23db70952b4ad8b610ef02942a8f13f223 (patch) | |
tree | 8e7a4013eb2927692b735b479de417e501d673e6 /indra/newview/pipeline.cpp | |
parent | e9dbee00262a437e4b3f971b37ea636e92032133 (diff) |
SL-10969
Fix linear attenuation on forward projector lighting.
Revert setup of falloff to prev code.
Revert deferred water spec and tweak refl/refr blend.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 8463730552..f8ef4ee5d7 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6329,7 +6329,7 @@ void LLPipeline::setupHWLights(LLDrawPool* pool) { F32 size = light_radius*1.5f; light_state->setLinearAttenuation(size); - light_state->setQuadraticAttenuation(light->getLightFalloff()*0.5f); + light_state->setQuadraticAttenuation(light->getLightFalloff()*0.5f+1.f); } else { |