DOF edge artifacts on foreground objects

Accidentally found a solution for this issue
Use console command: r.DOF.Kernel.MaxForegroundRadius 0.003.
0.003 is the value that works for me, the default one is 0.025. Just decrease it until you are satisfied with the result.

8 Likes