diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-05-08 13:58:53 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-05-08 13:58:53 -0700 |
commit | 1e8263772c7d1097e1b373ac4f4b6f13e62ac60f (patch) | |
tree | 86256f2f0813e43e7de6f71d40f1af088932de53 /indra/newview | |
parent | 415599b54d2450e915870b1a16065340fad53f4c (diff) |
Fix fullbrightF in the eyes of ancient nV compiler
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl index cb050c800f..c5513414dd 100755 --- a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl @@ -42,7 +42,8 @@ void main() { float shadow = 1.0; - vec4 color = diffuseLookup(vary_texcoord0.xy) * pow(vertex_color.rgb,vec3(2.2f)); + vec3 vcolor = pow(vertex_color.rgb, vec3(2.2f,2.2f,2.2f)); + vec4 color = diffuseLookup(vary_texcoord0.xy) * vec4(vcolor.rgb,1.0f); color.rgb = fullbrightAtmosTransport(color.rgb); |