summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-08-21 16:23:50 -0500
committerDave Parks <davep@lindenlab.com>2011-08-21 16:23:50 -0500
commit90ebaeef9b629cb63e7a94a526478f2e340ff439 (patch)
tree14f61c7fc6c2c41cace22a9582075d54ad8181bc /indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl
parent63c420d8ddb7cc738877d2771b1c3b8972a4de09 (diff)
parentee4fdd2c18c722164d78a7305777fad6e49cba8b (diff)
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl b/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl
index e827863436..c5ca9f4804 100644
--- a/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl
+++ b/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl
@@ -37,7 +37,6 @@ uniform float warmthAmount;
void main()
{
vec4 col = texture2DRect(diffuseMap, gl_TexCoord[0].xy);
-
/// CALCULATING LUMINANCE (Using NTSC lum weights)
/// http://en.wikipedia.org/wiki/Luma_%28video%29
float lum = smoothstep(minLuminance, minLuminance+1.0, dot(col.rgb, lumWeights ) );
@@ -45,4 +44,5 @@ void main()
gl_FragColor.rgb = col.rgb;
gl_FragColor.a = max(col.a, mix(lum, warmth, warmthAmount) * maxExtractAlpha);
+
}