diff options
author | Graham Linden <graham@lindenlab.com> | 2013-07-17 10:29:02 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-07-17 10:29:02 -0700 |
commit | 0160491f888917d830ca3d827cc1f28f07363fed (patch) | |
tree | 65da76c155897dffe2edc6bbe5f582f0f91177eb /indra/newview/app_settings/shaders/class1 | |
parent | 9aeb3b48d77ce9e22445b4bca23d36f651bb9395 (diff) |
NORSPEC-291 put back conversion to srgb in deferred water shader
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/deferred/waterF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl index 46d5b9b612..17288873c8 100755 --- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl @@ -192,7 +192,7 @@ void main() //wavef = normalize(wavef); vec3 screenspacewavef = (norm_mat*vec4(wavef, 1.0)).xyz; - frag_data[0] = vec4(color.rgb, 0.5); // diffuse + frag_data[0] = vec4(linear_to_srgb(color.rgb), 0.5); // diffuse frag_data[1] = vec4(0.5,0.5,0.5, 0.95); // speccolor*spec, spec frag_data[2] = vec4(encode_normal(screenspacewavef), 0.0, 0.0); // normalxyz, displace } |