summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-01-08 13:31:04 -0600
committerDave Parks <davep@lindenlab.com>2010-01-08 13:31:04 -0600
commit176a8d90301815bfc88958ca0c58cfaab00c4122 (patch)
treeec717da7529c0cd2753d6285bc59aa45a8150c53 /indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl
parentba2a45ecaedf0a4e532e9634f2d751c1419d2b6c (diff)
Cleaned up visible edges of projector frustum in diffuse/specular/ambient lighting from projectors.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl
index d6534083cf..6617e33c0d 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl
@@ -179,17 +179,6 @@ void main()
}
}
- /*if (spec.a > 0.0)
- {
- //vec3 ref = reflect(normalize(pos), norm);
- float sa = dot(normalize(lv-normalize(pos)),norm);;
- //sa = max(sa, 0.0);
- //sa = pow(sa, 128.0 * spec.a*spec.a/dist_atten)*min(dist_atten*4.0, 1.0);
- sa = texture2D(lightFunc, vec2(sa, spec.a)).a * min(dist_atten*4.0, 1.0);
- sa *= noise;
- col += da*sa*lcol*spec.rgb;
- }*/
-
//attenuate point light contribution by SSAO component
col *= texture2DRect(lightMap, frag.xy).g;