Search Unity

Question Ar Mesh Classification smooth edge

Discussion in 'AR' started by Ikaro88, May 7, 2022.

  1. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    300
    Hi
    the mesh classification have the all the edge very sharp:





    There is a way to smooth a little the edge?
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    Hi @Ikaro88

    ARKit mesh classification uses a mesh provided from ARKit, to which Unity applies no alterations such as smoothing.
     
    Ikaro88 likes this.
  3. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    300
    Thanks a lot for the reply!
    I am not an expert on mesh and/or shader but there is no workaround to accomplish the result? it is technically possible?
    (like create another mesh, with a smooth edge from the mesh generated with a script, or a shader that fades in the edge?)
     
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    It might be technically possible, although you might need to do some work to accomplish this. Searching for "feathering mesh edges" might be a good place to start