diff options
author | Henri Beauchamp <sldev@free.fr> | 2024-02-07 21:40:17 +0100 |
---|---|---|
committer | Henri Beauchamp <sldev@free.fr> | 2024-02-07 21:40:17 +0100 |
commit | 1940188e75806ffdd60807017210092b0dbe0dcf (patch) | |
tree | 4bd3283bfa48b4abe12916a907ec48a7cef3896d /indra/llprimitive/lltextureentry.cpp | |
parent | edb2fb57f8782f966c7ea675d2e4c0135352ef02 (diff) |
Confusion between light diffuse and light color in HDR auto-adjust mode
While the SUNLIGHT_COLOR uniform is initialized with getSunlightColor() when not
auto-adjusting for HDR, it is overwritten with getSunDiffuse()*auto_adjust_factor
when auto-adjusting, causing very bad lighting discrepancies in the latter mode
(especially when not at midday or midnight).
Let's use getSunlightColor() everywhere, shall we ?...
Diffstat (limited to 'indra/llprimitive/lltextureentry.cpp')
0 files changed, 0 insertions, 0 deletions