Unity 2D Screen Blur Unseen.

In my game you see the character from top down. But you should only see objects on the screen which the player could see. Is there any way to blur everything he cant see with Screen effects?

![1]
(This Image is taken from a YouTube Video that fits what i want)

Instead of the shadows in this one I want blur. So everything that is dark here should be blurred. The player is the red dot.

Thank you.

I am not sure if this would work, nor if this is what you need.
But at least it’s what I think I would try:

  • Use 2 cameras, one with blur, one without it.
  • Use 2 layers one per camera.
  • The blurred camera should paint over the normal camera.
  • Detect if an object is visible from your players FOV (I am guessing 360º FOV)
  • Move the object to one or another layer (camera) depending on if it’s visible or not.

Again, I am not sure I understand what you need, so maybe my solution doesn’t work.
For instance, I can imagine you will have issues with partially visible objects.