Smooth Depth of Field Transitions In Gameplay

I used 1 in F-stop, you will have to adjust the values according to what you have