Fade Obstructions is a free unity asset that fades the objects between your player and your camera

Setup

  1. Make sure the objects that will fade have their shader’s rendering mode set to ‘Fade’
  2. Add the FadeObstructionsManager script to any GameObject and specify your camera on it
  3. Add the FadeToMe script to your player
  4. At some point you will have an object that you want to handle differently than the defaults defined in the FadeObstructionsManager script. You can add the FadeObjectOptions script to any object and override those values.

 

Asset store page
Git Hub