Blur environment map in cycles

I added an HDR environment map to my project, merely for the lighting. Is there a way to blur the actual background image so the rendered image will have a blurred (fuzzy) background and shark objects?

One option.
In the Render / Film settings enable Transparent to give a transparent background.
In the Render Layers panel enable an Environment pass
Then blur the environment pass and Alpha over your scene render on top of this blurred background



Thank you, you are a genius!

What if I have transparent meshes which let the environment show through? The background won’t be blurred in this case, will it? How could I solve this?

What if I have transparent meshes which let the environment show through? The background won’t be blurred in this case, will it? How could I solve this?

Re render with shallow depth of field active on the camera. Then you can defocus through glass.

But if you want to stick with compositor try a mist pass as it preserves transparency but not refraction I’m afraid.

Thanks for your reply! I finally solved this by mixing the glass shaders with transparent shaders. Looks slightly less realistic now, but it allows me to blur the background with the existing setup - even through the windows!

Thanks for your help, everybody!