Skip to content
Snippets Groups Projects
Commit 0b4a0f8e authored by David Parks's avatar David Parks
Browse files

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

parent 9c1c791b
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ void main() ...@@ -102,7 +102,7 @@ void main()
float fd = depth*0.5f; 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);
dofSample(diff,w, fd, -sc,sc); dofSample(diff,w, fd, -sc,sc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment