Search Unity

Depth Of Field script and Transparency

Discussion in 'Shaders' started by anzerkree, Jan 6, 2018.

  1. anzerkree

    anzerkree

    Joined:
    Feb 16, 2017
    Posts:
    14
    Hello everyone

    I want to blur my scene when I target a particular object. Everything must be blurred except this object.

    I was thinking about Depth Of Field but I have a problem with the Unity script (UnityStandardAssets.Cinematic).

    When I use it, it don't detect objects with some transparent material.
    I read a lot of posts on the internet, but that date from 2015 - 2016, without seeing any answer.

    Do you have any solutions ?

    Thx for your help
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,342
    Nope.

    This is a problem in most AAA games too. It's basically an unsolvable problem while keeping a good framerate with modern rendering practices.

    It's funny in a way because it was solved to a degree during the PS2 days.