summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/materialF.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
index e406bf14a9..de404cbffe 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
@@ -110,10 +110,10 @@ void main()
final_specular.rgb *= specular_color.rgb;
vec4 final_normal = vec4(normalize(tnorm), spec.a * env_intensity);
- final_specular.a = specular_color.a * spec.a;
+ final_specular.a = specular_color.a * norm.a;
#else
vec4 final_normal = vec4(normalize(tnorm), 0.0);
- final_specular.a = spec.a;
+ final_specular.a = specular_color.a;
#endif
final_normal.xyz = final_normal.xyz * 0.5 + 0.5;