summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-11-30 00:26:02 -0600
committerDave Parks <davep@lindenlab.com>2010-11-30 00:26:02 -0600
commit88ed5581d5b5df150d4adac3e1fe53fdef84c959 (patch)
treef22dca5c8fdbbf46bc45d69a9ca0b83132c5f33b /indra/newview/app_settings/shaders/class1
parentbd8d888ceab101db8e350b4b317823a316470ade (diff)
Far focal plane blur attenuation tweak.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl2
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);