diff options
author | Rider Linden <rider@lindenlab.com> | 2019-03-20 16:10:10 +0000 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-03-20 16:10:10 +0000 |
commit | fa6e4137e39f9adac8696af688d0f6f28f6cb29d (patch) | |
tree | bb8d7caa122850d4ef4c18a9846a55504960d010 /indra/newview/pipeline.cpp | |
parent | b1999722be317f2b293ad3e4a68310a82a467fc0 (diff) | |
parent | 2d514e4b10025dc37c20db7db821e621dcdcaaf1 (diff) |
Merged in graham_linden/viewer-eep-fixes (pull request #305)
SL-10764, SL-10768. SL-10763
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); } |