Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question DOF is not working for the non-surface shader. How do I add DOF properly to the non-surface shader?

Discussion in 'Shaders' started by marchall_box, Sep 22, 2021.

  1. marchall_box


    Mar 28, 2013

    What is the proper way to make a custom (non-surface) shader's backface mesh to get affected by DOF?

    It seems like only the backface is getting super blurred out.

    Built_in RP
    Unity 2019.4.29f1

    Thank you,
    Last edited: Sep 22, 2021