summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-22 12:29:32 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-22 12:29:32 +0800
commit53ff8ab675b76f84154cd639fe4fb5f8c0ac3dc7 (patch)
treefae2f97053a1ce15ade8eeecbf6b1e789f4b8498 /indra/newview/app_settings/shaders/class1
parent2fb48eb9be6df00c3baed955fd84f4d8a1ea1d9a (diff)
parent0ec9bfaabde12d82ba6b840589f849b7cf279417 (diff)
Merge tag 'Second_Life_Release#0ec9bfaa-2025.03' into 2025.03
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
index 02108a9ec1..9101fc0222 100644
--- a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
+++ b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
@@ -154,6 +154,7 @@ void calcAtmosphericVarsLinear(vec3 inPositionEye, vec3 norm, vec3 light_dir, ou
if (classic_mode < 1)
{
amblit = srgb_to_linear(amblit);
+ amblit = vec3(dot(amblit, vec3(0.2126, 0.7152, 0.0722)));
sunlit = srgb_to_linear(sunlit);
}