diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-19 15:02:13 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-19 15:02:13 -0700 |
commit | 1a6f54cb5ede03f7e7d0b24f7eb45081adf0464e (patch) | |
tree | ef652dfca9c93b1cd2411afdecebadccf4f85d75 /indra/newview/pipeline.cpp | |
parent | 30bdc6c7c5ea068d72c13f18ea550d86889892d4 (diff) |
SL-10764
Fix lighting issues when using shaders, but not ALM.
Shader code cleanup (remove do nothing functions only in one file).
Fix obsolete comment to refer to correct storage for projector ambiance.
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 c3bccfd19b..c4a644c7b6 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6346,7 +6346,7 @@ void LLPipeline::setupHWLights(LLDrawPool* pool) light_state->setSpotExponent(0.f); light_state->setSpotCutoff(180.f); - // we use specular.w = 1.0 as a cheap hack for the shaders to know that this is omnidirectional rather than a spotlight + // we use specular.z = 1.0 as a cheap hack for the shaders to know that this is omnidirectional rather than a spotlight const LLColor4 specular(0.f, 0.f, 1.f, 0.f); light_state->setSpecular(specular); } |