Search Unity

depth of field simple question

Discussion in 'Scripting' started by arioch82, Mar 2, 2010.

  1. arioch82

    arioch82

    Joined:
    Dec 3, 2009
    Posts:
    253
    Hi everyone,

    I did ask this also in the shaderlab, i'm not sure where to post this...

    I'm using the depth of field script from the shader replacement example and...

    1) I would like to remove the "yellow bar" that show the current focal distance/range but I don't know anything about shader programming and I don't find it in the code...

    looking at the js my guess is: is it the render scene shader?
    do I have to remove it from the project and delete any reference from the script? (so basically delete the OnPreRender function?).

    2) is the only transparent material accepted the cutout? there's any extension for using a normal transparent diffuse?

    Thank you
     
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    The ShaderLab was indeed the right place to ask about this. I'm passing that thread on to the Unity development team to see if they can suggest anything.
     
  3. arioch82

    arioch82

    Joined:
    Dec 3, 2009
    Posts:
    253