diff options
author | Dave Parks <davep@lindenlab.com> | 2010-11-30 00:26:02 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-11-30 00:26:02 -0600 |
commit | 88ed5581d5b5df150d4adac3e1fe53fdef84c959 (patch) | |
tree | f22dca5c8fdbbf46bc45d69a9ca0b83132c5f33b | |
parent | bd8d888ceab101db8e350b4b317823a316470ade (diff) |
Far focal plane blur attenuation tweak.
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl b/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl index 4503dc9003..a379910101 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl @@ -76,7 +76,7 @@ void main() float fd = far_focal_distance; float sc = far_focal_distance - depth[0]; - sc /= near_focal_distance-far_focal_distance; + sc /= -far_focal_distance; sc = min(sc, 8.0); |