summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-03-26 16:23:49 -0500
committerDave Parks <davep@lindenlab.com>2013-03-26 16:23:49 -0500
commitc107afcb1ed02266d6f63910338c6095fcad9e23 (patch)
treec602bddf2c9a2b3cb1b332c2d226ddfdc058c386 /indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
parentae9604acd5561bfdd439a939cc0c89b00656d451 (diff)
NORSPEC-57, NORSPEC-58 Remove sRGB and gamma correction from shaders to remove banding and not break all shiny objects.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
index 61f3088648..99dbee15ee 100644
--- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
+++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
@@ -33,20 +33,18 @@ vec3 sunlit_color;
vec3 amblit_color;
vec3 position_eye;
-uniform float global_gamma;
-
vec3 getSunlitColor()
{
- return pow(sunlit_color, vec3(global_gamma)) * global_gamma;
+ return sunlit_color;
}
vec3 getAmblitColor()
{
- return pow(amblit_color, vec3(global_gamma)) * global_gamma;
+ return amblit_color;
}
vec3 getAdditiveColor()
{
- return pow(additive_color, vec3(global_gamma)) * global_gamma;
+ return additive_color;
}
vec3 getAtmosAttenuation()
{