Get rid of ugly seam at near/far focal planes.

meow-7.2.2
Dave Parks 2011-03-21 10:46:42 -05:00
parent 9c1c791b29
commit 0b4a0f8e23
1 changed files with 1 additions and 1 deletions

View File

@ -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);