Search Unity

Question URP wind shader graph

Discussion in 'Shader Graph' started by mistergreen2016, Oct 4, 2021.

  1. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Hi, I found this wind shader graph on Unity's Youtube channel.



    It works but it has a bad side effect. To randomize the movement, a gradient noise node is added close to the Master there. The color vertexes are offset but the faces of the model are exploded from each other, for example below.



    Any hint on what's going on?
     
  2. JanMaza

    JanMaza

    Joined:
    Feb 9, 2021
    Posts:
    2
    Hey, it's been a while, but consider remeshing your model to triangles. That helped me.
     
  3. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Thanks, I reworked and reworked the shader and it's fixed.
     
  4. backwheelbates

    backwheelbates

    Joined:
    Jan 14, 2014
    Posts:
    232
  5. Kyriakos80

    Kyriakos80

    Joined:
    Sep 30, 2017
    Posts:
    49
    Here's what i am using for the vertex position, it works fine for me irregardless of topology, and you could reuse one of the position nodes to optimise it further...
     
    Last edited: Sep 13, 2022
  6. Kwahusss

    Kwahusss

    Joined:
    Sep 21, 2015
    Posts:
    13
    Can you reupload your screen please?