Search Unity

Question Billboard foliage shader graph in Unity 3d

Discussion in 'Unity Hub' started by boredGiraffe15, Jun 1, 2023.

?

Does anyone know how to combine Foliage and Billboard functions in shader graph Unity3d?

  1. Yes, I know

    0 vote(s)
    0.0%
  2. No, I don't know

    1 vote(s)
    100.0%
  3. I am not sure

    0 vote(s)
    0.0%
  1. boredGiraffe15

    boredGiraffe15

    Joined:
    Jul 18, 2018
    Posts:
    1
    Hi Guys.

    I am newbie in Unity. I tried to make Billboard Foliage shader graph in Unity 3d. My scene is HDRP pipeline and I am using Lit shader graph.

    This one is function for "Billboard". So the Object will always facing the camera.
    Foliage_billboard_1.JPG

    and the other function is the "Wind". For the object to move like vegetation.
    Folliage_Billboard_2.JPG
    these two functions are connected to same node, "Vertex Position".

    The problem is, I cannot find suitable node that can connect between the two functions.
    I was trying to use multiply, artistic>blend, or combine. It's not working.

    The thing that I want is the object will be able to move like plant ( by moving the vertex) and always facing camera, combined together.

    Could anyone help please? Thank you :D