Hello :).
Im having trouble with creating HUD for my 3D game. Here's what I've done:
I've prepared 3D Scene and named it HUD_element. As a Root it has Spatial node and it have MeshInstance as a child and a Vieport.
HUD_Element
|---- Panel (MeshInstance/QuadMesh)
|---- Viewport (Viewport)
Im creating texture and a material for my MeshInstance via code by getting a 2D scene to render and setting it as a child of Viewport. I've also set some flags to the material and I've found that when material.flags_no_depth_test and/or material.flags_transparent are set to true then I get result as shown on picture below.

I want that my HUD_Element is renderd on the screen on top without being affected by DOF Far Blur effect. It' appears that the blur is only applied when there is no geometry behind my HUD_Element.