From 7f3f69002b7c7612fc89a3c5c571066a34e5baff Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Fri, 17 May 2019 15:39:27 -0700 Subject: SL-11220 Fix transport when no_atmo == 1 (HUD rendering) was in play. --- .../app_settings/shaders/class2/windlight/atmosphericsHelpersV.glsl | 2 +- indra/newview/app_settings/shaders/class2/windlight/transportF.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsHelpersV.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsHelpersV.glsl index 9f049cb8fb..9c42b84eca 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsHelpersV.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsHelpersV.glsl @@ -37,7 +37,7 @@ uniform int no_atmo; vec3 atmosAmbient() { - if (no_atmo == 1) return vec3(0.66); + if (no_atmo == 1) return vec3(0.16); return getAmblitColor(); } diff --git a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl index 2de708d94b..f9d2a36818 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl @@ -36,7 +36,7 @@ vec3 atmosTransportFrag(vec3 light, vec3 additive, vec3 atten) { if (no_atmo == 1) { - return light; + return light * 2.0; } light *= atten.r; light += additive; -- cgit v1.2.3