From 5bd055fe585233b3c43e02f2082f5a95f79b825b Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Tue, 18 Jun 2019 14:33:28 -0700 Subject: SL-10829 the 2nd Made pointLightF use correct colorspace as multiPoint already was. --- indra/newview/pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/pipeline.cpp') diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index d1a6fd12f2..bbc521f90e 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6350,7 +6350,7 @@ void LLPipeline::setupHWLights(LLDrawPool* pool) F32 linatten = x / (light_radius); // % of brightness at radius // get falloff to match for forward deferred rendering lights - F32 falloff = light->getLightFalloff() + (sRenderDeferred ? 0.0 : 1.f); + F32 falloff = light->getLightFalloff() + (sRenderDeferred ? 1.0 : 0.f); mHWLightColors[cur_light] = light_color; LLLightState* light_state = gGL.getLight(cur_light); -- cgit v1.2.3