0
\$\begingroup\$

I'm using global fog and the standard assets Depth Of Field script but it has a strange effect on the edges of far away objects.

How can I make the white edges along the trees blend smoothly into the fog?

enter image description here

\$\endgroup\$
1
  • 2
    \$\begingroup\$ Decrease DoF effect's strength, increase radius (if there are no options like that, try and implement them). Not sure how the result will be, but it should fix it in theory. \$\endgroup\$ Commented May 12, 2017 at 12:04

1 Answer 1

1
\$\begingroup\$

I tried using a different depth of field shader (also in standard assets). This solved the problem. It must use a different method I guess.

enter image description here

\$\endgroup\$
1
  • 4
    \$\begingroup\$ You should also share the shader (if it's public resource) and a picture showing the end result so that others can benefit. \$\endgroup\$ Commented May 13, 2017 at 11:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .