From afe8d2246e64c964f3b0a6b045770aefedfd9cea Mon Sep 17 00:00:00 2001 From: Graham Madarasz Date: Thu, 18 Apr 2013 07:30:12 -0700 Subject: NORSPEC-125 More alpha vert shader cleansing for decrepit nV compiler --- indra/newview/app_settings/shaders/class2/deferred/alphaV.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/app_settings/shaders/class2/deferred/alphaV.glsl b/indra/newview/app_settings/shaders/class2/deferred/alphaV.glsl index bc5bbd42c7..45f3946467 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/alphaV.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/alphaV.glsl @@ -192,10 +192,10 @@ void main() col.rgb = vec3(0,0,0); // Add windlight lights - col.rgb = atmosAmbient(vec3(0.)); + col.rgb = atmosAmbient(col.rgb); vary_ambient = col.rgb*diffuse_color.rgb; - vary_directional.rgb = atmosAffectDirectionalLight(1); + vary_directional.rgb = atmosAffectDirectionalLight(1.0f); col.rgb = col.rgb*diffuse_color.rgb; -- cgit v1.2.3