summaryrefslogtreecommitdiff
path: root/indra/llcommon/indra_constants.cpp
diff options
context:
space:
mode:
authorHenri Beauchamp <sldev@free.fr>2024-02-07 21:40:17 +0100
committerHenri Beauchamp <sldev@free.fr>2024-02-07 21:40:17 +0100
commit1940188e75806ffdd60807017210092b0dbe0dcf (patch)
tree4bd3283bfa48b4abe12916a907ec48a7cef3896d /indra/llcommon/indra_constants.cpp
parentedb2fb57f8782f966c7ea675d2e4c0135352ef02 (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/llcommon/indra_constants.cpp')
0 files changed, 0 insertions, 0 deletions