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 Smooth edges through Shader Graph

Discussion in 'General Graphics' started by sevensixtytwo, Jun 19, 2020.

  1. sevensixtytwo

    sevensixtytwo

    Joined:
    Apr 5, 2013
    Posts:
    27
  2. krakentanz

    krakentanz

    Joined:
    Aug 13, 2020
    Posts:
    34
    Did you find a way to achieve this by now? I'm looking to find a solution for non-tearing outlines, too ...
    Cheers!
     
  3. joshuacwilde

    joshuacwilde

    Joined:
    Feb 4, 2018
    Posts:
    737
    I imagine you could edge detect then blur the gbuffer normals based on the edge detect. Assuming you are using deferred rendering.
     
    krakentanz likes this.
  4. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,397
    For the original goal of mesh based outlines, no. It is not possible.
     
    krakentanz likes this.