diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index e3608a1136..7602fa9712 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -326,7 +326,7 @@ void main() float sa = dot(normalize(r), light_dir.xyz); float sun = texture2D(lightFunc, vec2(sa, metal)).r; vec3 sunSpec = sunlit * scol * sun; - colorSpec += sunSpec; + colorSpec += sunSpec * metal; bloom = dot(sunSpec, sunSpec) / 6; } color.rgb = colorDiffuse + colorEmissive + colorSpec; |