When compositing my render with an alpha over node to be able to edit my background and my foreground separately, if I use a defocus node to give my image some DOF, I always run into those weird artifacts that happen at the transition between the "in focus" zone and the "out of focus" one.
Anyone knows how to get rid of that? I'll attach my color ramped mist pass and the result.
The mist pass:
The result with artifacts: