summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-22 11:00:30 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-22 11:00:30 -0700
commitdb091d23db70952b4ad8b610ef02942a8f13f223 (patch)
tree8e7a4013eb2927692b735b479de417e501d673e6 /indra/newview/pipeline.cpp
parente9dbee00262a437e4b3f971b37ea636e92032133 (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.cpp2
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
{