summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/windlight
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-16 14:14:02 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-16 14:14:02 -0700
commitb3c0218a31b9d7dd699cf3944bbcfc35e9adbd49 (patch)
tree862809250383d4246d6cc4eaf3c7336265bbb192 /indra/newview/app_settings/shaders/class1/windlight
parentcce6254aec2de6606b4940d961cef6cceb549d61 (diff)
Revert lighting changes for 10856 causing knock-on.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/windlight')
-rw-r--r--indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
index 6c22ef5636..68eb671e7c 100644
--- a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
+++ b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
@@ -137,7 +137,7 @@ void calcAtmosphericVars(vec3 inPositionEye, float ambFactor, out vec3 sunlit, o
+ tmpAmbient));
//brightness of surface both sunlight and ambient
- sunlit = sunlight.rgb;
- amblit = tmpAmbient.rgb;
+ sunlit = sunlight.rgb * 0.5;
+ amblit = tmpAmbient.rgb * .25;
additive *= vec3(1.0 - temp1);
}