Search Unity

Question Struggling to merge A billboarding effect with a wind effect

Discussion in 'Shader Graph' started by Soul_Animation, May 6, 2021.

  1. Soul_Animation

    Soul_Animation

    Joined:
    Jan 26, 2021
    Posts:
    6
    Howdy all,
    I'm not very savvy with shaders and have been following tutorials for most of my shadergraph endeavours

    I have managed to make my grass shader effects work independently
    one being a wind effect,
    the other being a billboarding effect.
    however I'm struggling to merge those two effects together. Forgive my ignorance I don't understand a lot of what I have achieved here in the linked image, as I followed along with others.

    Thanks in advance for any help you can offer.
     

    Attached Files:

  2. MTUA

    MTUA

    Joined:
    Oct 26, 2018
    Posts:
    29
    Try adding them and plugging it into the position slot.
     
  3. Soul_Animation

    Soul_Animation

    Joined:
    Jan 26, 2021
    Posts:
    6
    Thanks for the reply MTAU,

    That's the heart of the issue. They both require the position slot.

    I've tried adding and multiplying them together before plugging them to the position slot with no luck.
    I'll add some images when I get home to show the different effects
     
  4. MTUA

    MTUA

    Joined:
    Oct 26, 2018
    Posts:
    29
    How about adding them before converting to object space. And if you are using HDRP, you might have to subtract the camera position.