I want to blur an image I used as a background in the compositor but have it blurred more towards the top and in focus in the foreground. Is this possible to do with nodes?
This is the node setup:
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
Just add a new Texture in the Texture properties panel set to Blend and Vertical. This will create a texture that blends from 1.0 at the top to 0 at the bottom.
In the compositor the texture can be included via the Texture node. This can then be passed into the Blur node set to Variable Size as follows :
Note the result in the bottom-left window (blur at the top, sharper towards the bottom). You can use Maths nodes or a Color Ramp between the Texture and the Blur node to adjust if desired.