Search Unity

How Would I Make a Shader Like In This Video?

Discussion in 'Shaders' started by SeanGause, Feb 19, 2018.

  1. SeanGause

    SeanGause

    Joined:
    Dec 24, 2015
    Posts:
    127

    How would I make a mesh move like the kelp / plant in this video? I have no experience writing shaders, but this sort of thing is essential for a game I am trying to make.
    Where would I start on this? This seems like a pretty simple shader to make, but I have nothing to work with.
    Thank you :)
     
  2. brownboot67

    brownboot67

    Joined:
    Jan 5, 2013
    Posts:
    375
    Move the vertices with a wave. The unity docs have examples of basic vertex manipulation. What you want is basically a normal foliage shader.
     
  3. RepoGames

    RepoGames

    Joined:
    Apr 15, 2016
    Posts:
    69
    If uve no experience with shaders then it may be quite difficult yet challenging to create such thing from scratch:) As somebody mentioned - try to use existing foliage shaders
     
  4. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,982