summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-04-24 10:37:29 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-04-24 10:37:29 -0700
commit4ae48c225b1bb82a5667757fea53ff5c0646a5c4 (patch)
treea858eb6a326f65b03d199b2696f6ed2a46d6ae23 /indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
parentce48b9d8cf0722f011e12f5bdc09b6e441625813 (diff)
Correct fix to include affect on ambient term and make work on Mac nV
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
index ae3769c786..77d02b36ff 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/alphaV.glsl
@@ -194,11 +194,11 @@ void main()
// Add windlight lights
col.rgb = atmosAmbient(col.rgb);
- vary_ambient = col.rgb*diffuse_color.rgb;
+ vary_ambient = col.rgb*diff.rgb;
vary_directional.rgb = atmosAffectDirectionalLight(1.0f);
- col.rgb = col.rgb*diffuse_color.rgb;
+ col.rgb = col.rgb*diff.rgb;
#ifdef USE_VERTEX_COLOR
vertex_color = col;