diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-29 00:19:52 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-29 00:19:52 -0500 |
commit | 411aa9f727efba971c8577cef4d6a31f096a6fea (patch) | |
tree | 7cc32ed6726014613c8a38bee9a5d79476249a3c /indra/llrender/llrender.cpp | |
parent | 2e499bcc40871b6a68700203cc83fe7d81c79c24 (diff) |
SL-18190 Fix for haze color being completely wrong (now it's just half wrong).
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r-- | indra/llrender/llrender.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index c7eb4613c1..6e659641fe 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -979,10 +979,6 @@ void LLRender::syncLightState() shader->uniform4fv(LLShaderMgr::AMBIENT, 1, mAmbientLightColor.mV); shader->uniform4fv(LLShaderMgr::SUNLIGHT_COLOR, 1, diffuse[0].mV); shader->uniform4fv(LLShaderMgr::MOONLIGHT_COLOR, 1, diffuse_b[0].mV); - - shader->uniform3fv(LLShaderMgr::AMBIENT_LINEAR, 1, linearColor3(mAmbientLightColor).mV); - shader->uniform3fv(LLShaderMgr::SUNLIGHT_LINEAR, 1, linearColor3(diffuse[0]).mV); - shader->uniform3fv(LLShaderMgr::MOONLIGHT_LINEAR, 1, linearColor3(diffuse_b[0]).mV); } } |