diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-04-18 07:30:12 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-04-18 07:30:12 -0700 |
commit | afe8d2246e64c964f3b0a6b045770aefedfd9cea (patch) | |
tree | 76aa75801daf29681ffd0a95ab7a91f1205fb3e0 /indra/newview/app_settings | |
parent | f76b3d7e7d778fec7f082c46491197cac9867a50 (diff) |
NORSPEC-125 More alpha vert shader cleansing for decrepit nV compiler
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/alphaV.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
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; |