diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2021-10-21 16:46:06 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2021-10-21 16:46:06 -0700 |
commit | a172c9d9cf358c3d9329a1777e30f627f50d5aaa (patch) | |
tree | b19f7aadc61f73d173d071fbe9503bea80ab8f87 /indra/newview | |
parent | 851767b808c3cb05d718538389ccc1ed3c95d1a1 (diff) |
SL-16127: Replace slow getLightTransmittance with faster version
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lllegacyatmospherics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllegacyatmospherics.cpp b/indra/newview/lllegacyatmospherics.cpp index a2acb3efe2..71482c3261 100644 --- a/indra/newview/lllegacyatmospherics.cpp +++ b/indra/newview/lllegacyatmospherics.cpp @@ -313,7 +313,7 @@ void LLAtmospherics::calcSkyColorWLVert(const LLSettingsSky::ptr_t &psky, LLVect // Sunlight attenuation effect (hue and brightness) due to atmosphere // this is used later for sunlight modulation at various altitudes LLColor3 light_atten = vars.light_atten; - LLColor3 light_transmittance = psky->getLightTransmittance(Plen); + LLColor3 light_transmittance = psky->getLightTransmittanceFast(vars.total_density, vars.density_multiplier, Plen); (void)light_transmittance; // silence Clang warn-error // Calculate relative weights |