summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-03 09:12:53 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-03 09:12:53 -0700
commit9c23ede9799a3277ae8e79f9832b3ea557fc069d (patch)
tree683300bc40f4a606cbc454886c3975889a716b51 /indra/newview/app_settings/shaders/class2/deferred
parent906b0be675e5467665f65180924e6117700b4cbb (diff)
SL-11075
Make alpha shader apply vert color everywhere.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
index a2fbec524e..8fcd26eba9 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl
@@ -153,7 +153,7 @@ vec3 post_diffuse = color.rgb;
float scontrib = fres*texture2D(lightFunc, vec2(nh, spec.a)).r*gt/(nh*da);
vec3 speccol = sun_contrib*scontrib*spec.rgb;
speccol = clamp(speccol, vec3(0), vec3(1));
- bloom += dot (speccol, speccol) / 6;
+ bloom += dot (speccol, speccol) / 12;
color += speccol;
}
}