Depth of Field - wrong focal distance

I have set both Focal Distance and Manual Focus Distance to 26000 to match distant fortress visible through the window but for some reason DoF is rendering like I have focused really close object.

Even debug focal plane is in the right spot, but as you can see in the attached image close up flower is focused and not actual focuse plane area.

Am I maybe missing some settings or this is a bug?

Hello,

We’ve made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Marinna

I know this is a bit old now, but I believe your issue may be any material that is transparent. I ran into this same issue in the past. There doesn’t seem to be anything you can do for your glass (that I’m aware of), but for the flower, if you’re just using a material blend mode of translucent for masking the leaves etc, try changing the blend mode to masked instead. You might have to bump up the resolution of your mask to keep edges clean, but it will react properly to the focal blur after that.

Unfortunately, I think this is a property of the current render approach: Unreal Engine Issues and Bug Tracker (UE-61596)

I have found a solution! You can use a Execute Console Command with r.SeparateTranslucency 0 (or set in the console). This will make your transparent materials subject to your focal blur.