Did you apply your lens blur directly on the layer, or did you configure the lens blur to use a texture map ?
In the second case, you can add a little fast blur to the texture map and precompose it with "moving all attributes".
Hope that helps
You must pre-compose foreground and background before applying the effect. That's just how real DOF works...
Thanks for your input guys.
I did have the effect applied to the layer so I then precomposed it as suggested which has worked...... (see attachment)
However I now have a new problem!
I actually need the the focus to be reversed, with the background sharp and the foreground blurred.
I tried 'inverting the depth map' in the lens blur settings but it gave me the same problem as before with the hard edges....
Any ideas on how to get the focus working the other way around?
1024x576 (00120)_02.jpg 144.7 K
Make sure your depth map actually contains RGB/ luminance values in al lareas. If the depth pass contains Alpah, some of them would be transparent/ empty and thus "undefined". Pre-compose it against a sold that has the same color as the farthest away pixels in the depth map (black or the darkest grey).
Ive been using jpeg images so the alpha isnt an issue here....
As soon as I adjust the focal length to put the foreground out of focus, I start to get the hard edge. If I adjust the focal length to throw the background out of focus the depth layer works fine........weird