diff options
author | Graham Linden <graham@lindenlab.com> | 2019-06-03 11:30:41 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-06-03 11:30:41 -0700 |
commit | 16d3279995bcb4a4766b721d0897b3d2199971d5 (patch) | |
tree | 0a64b4323552044cf9e88e12f7c77804f26c0426 /indra/llrender | |
parent | 9d73d103bc137a9de5ccf550b9ceaf61c419179a (diff) |
SL-10966
Fix light atten and transmittance calcs breaking ambient color contrib to fog.
Needs to be tested on DRTSIM-415 or better to get legacy viewer settings that match EEP.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 6cd9a93ddd..026301d914 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -1203,7 +1203,7 @@ void LLShaderMgr::initAttribsAndUniforms() mReservedUniforms.push_back("fullbright"); mReservedUniforms.push_back("lightnorm"); mReservedUniforms.push_back("sunlight_color"); - mReservedUniforms.push_back("ambient"); + mReservedUniforms.push_back("ambient_color"); mReservedUniforms.push_back("blue_horizon"); mReservedUniforms.push_back("blue_density"); mReservedUniforms.push_back("haze_horizon"); |