summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-04-11 15:31:26 -0500
committerDave Parks <davep@lindenlab.com>2023-04-11 15:31:26 -0500
commitb09e5324c75ba60b03476d60fe503209daeacbbf (patch)
tree18147cd3a9b493681b5b55bf1b9a348c7aad7a2c /indra/newview/app_settings/shaders/class1/deferred
parent2b2154f0217758b27b544d066024d922ba234d51 (diff)
SL-19564 Document magic number.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl b/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl
index e0eb91480e..ee425f97fc 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl
@@ -44,7 +44,7 @@ float lum(vec3 col)
void main()
{
vec2 tc = vary_fragcoord*0.6+0.2;
- tc.y -= 0.1;
+ tc.y -= 0.1; // HACK - nudge exposure sample down a little bit to favor ground over sky
vec3 c = texture(diffuseRect, tc).rgb + texture(emissiveRect, tc).rgb;
float L = lum(c);
frag_color = vec4(L);