I was using this shader for my project and realized maybe some people might want a copy for theirs
This shader gaussian blurs, desaturates and darkens the background using 3 parameters

Its pretty handy for making a background look out of focus and dull when you overlay UI on top of it, for example during a pop-up menu. I think its similar to stuff they use in modern games when you're using a quick-menu, I'm using it for when you open the minimap

Defocus.zip

should work for dx9, dx11 pm/npm