So, in my game I want to be able to FOCUS on certain things, blurring the background completely and showing only the target in focus.
I have a blur layer which blurs the entire game (except the HUD) when toggled using a button.
Let's have an example situation.
We have a 2D city and you must assassinate a target. You press F and the background blurs out, leaving you and the target focused while the rest of the background blurs away, kinda like Assassin's Creed ( example pic: http://cloud.steampowered.com/ugc/57891 ... A49ABBE97/
) You hover over the person you want to follow and press F to "lock on" to the target. Your attacks are now focused on him instead of the others in the area and you can concentrate on him.
So, how can I track a moving target while blurring the background around him, leaving him in focus? How could I do this? Keep in mind that the PLAYER should also be in focus.
The idea I have right now is a Blur Canvas, which renders the entire layer in blur, but I have no idea how to go on from here.