diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-09 13:02:58 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-09 13:02:58 -0700 |
commit | f9c0b021ea1a695c0d5d4042981045fe265e7918 (patch) | |
tree | c284a557134163e92b667f4c9aa6cf12e5960b7d /indra/newview/pipeline.cpp | |
parent | 07739f5d74b3bbdf98e8e6422782e07c9a5775a5 (diff) |
SL-5186
Fix falloff on projectors in forward rendering (different falloff calcs than deferred).
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 7139788c18..27b280a4a8 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6321,7 +6321,7 @@ void LLPipeline::setupHWLights(LLDrawPool* pool) { F32 size = light_radius*1.5f; light_state->setLinearAttenuation(size); - light_state->setQuadraticAttenuation(light->getLightFalloff()*0.5f+1.f); + light_state->setQuadraticAttenuation(light->getLightFalloff()*0.5f); } else { |