diff options
author | Geenz <geenz@geenzo.com> | 2013-01-11 06:37:21 -0500 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-01-11 06:37:21 -0500 |
commit | eda11a25a465dd87b187f63da661f2ce02925deb (patch) | |
tree | e77e33b4ee7b6f18f314576948be1560c3640ce9 /indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl | |
parent | e8f6734d67ce1f61c5745bc1b25a9e5d1d599aca (diff) |
Initial (largely complete) gamma correct rendering implementation.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl index 36433a5827..b6a9417fe7 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl @@ -43,6 +43,7 @@ void main() float shadow = 1.0; vec4 color = diffuseLookup(vary_texcoord0.xy)*vertex_color; + color.rgb = pow(color.rgb, vec3(2.2)); color.rgb = fullbrightAtmosTransport(color.rgb); |