Depth of field adding dark blur outline

I’m migrating a project from babylon 6 to babylon 7-8 and I’ve noticed that now the depth of field effect from the defaultRenderingPipeline renders differently in Babylon v7/8 than in v6, adding a blurred thicker outline around objects when they are expected to be in focus in those areas (also it has an overall difference in blurriness and darkness, as can be seen in the background torus knot mesh).

Babylon 7/8:

Babylon 6:

You are right, I introduced a bug in the DoF effect with the frame graph support!

Here is the fix:

Thanks for the fix! Now we are ready for the v8 transition :slight_smile: