Search Unity

Question A question regarding Vertex displacement performance

Discussion in 'Shader Graph' started by deftroy, Nov 17, 2020.

  1. deftroy

    deftroy

    Joined:
    Mar 25, 2016
    Posts:
    3
    Hey everyone

    I wasn't able to find much information online about how vertex displacement effects performance in unity, so I come to you for knowledge,

    Is vertex displacement is unity heavy performance-wise?

    how does vertex displacement compare to other deformation methods such as joint driven or alembic?

    Is it efficient enough for use in very optimized applications that need to run smoothly on platforms such as mobile and/or webGL?

    thanks!
     
  2. Oxeren

    Oxeren

    Joined:
    Aug 14, 2013
    Posts:
    121
    It depends on the particular calculations needed, but moving vertices in a vertex shader is very cheap. I'd say it is probably cheaper than other kinds of deformation, and is suitable for mobile.