summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-04-18 23:18:21 -0400
committerGeenz <geenz@geenzo.com>2013-04-18 23:18:21 -0400
commitb145007941c0dd9d30fadc834426e22e5a113edf (patch)
tree3ed0cc3d032d387113066f8ca3e9d639acc454a7 /indra/newview/app_settings/shaders/class2/deferred
parent9e53724538d61e6e53f5bf56e01760d59b54f690 (diff)
Fix for alpha blended objects becoming too bright when gamma correction is applied.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
index 76a045a3bb..db58c19057 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
@@ -203,7 +203,7 @@ void main()
#else
diff = texture2D(diffuseMap,vary_texcoord0.xy);
#endif
-
+ diff.rgb = pow(diff.rgb, vec3(2.2));
#if INDEX_MODE == NON_INDEXED_NO_COLOR
float vertex_color_alpha = 1.0;
#else