summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-21 10:46:42 -0500
committerDave Parks <davep@lindenlab.com>2011-03-21 10:46:42 -0500
commit0b4a0f8e234087ae4d6a614c00db9eeea3bec190 (patch)
tree2daaec5dd14d389e9bf71d5ad5416d7096f477aa /indra/newview
parent9c1c791b29cb5087ebff142d4ad7a55b65be0ad0 (diff)
Get rid of ugly seam at near/far focal planes.
Diffstat (limited to 'indra/newview')
-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 7c89c01ea4..7a6b40006b 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl
@@ -102,7 +102,7 @@ void main()
float fd = depth*0.5f;
- while (sc > 1.0)
+ while (sc > 0.5)
{
dofSample(diff,w, fd, sc,sc);
dofSample(diff,w, fd, -sc,sc);