2 Simple Vertex Displacement Shaders in ShaderGraph | Unity Tutorial

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 27

  • @Alastair.Forsyth
    @Alastair.Forsyth Месяц назад +1

    After watching so many tutorials on making something specific, this is amazing for learning shader graph in general. Learned so much to help make what I want instead of just copying! Thanks

  • @adelAKAdude
    @adelAKAdude Год назад +5

    Broooo ... Never thought shaders would be that simple ... Respect dude

  • @AletseDev
    @AletseDev Год назад +2

    I need more vids of shaders, really useful content.

  • @suthamonhengrasmee8182
    @suthamonhengrasmee8182 Год назад +1

    Very nice explanation, Thank you

  • @castlecodersltd
    @castlecodersltd Год назад +2

    Another great tutorial. Thank you 🙂

  • @lando6583
    @lando6583 4 месяца назад +1

    great video. thank you.

  • @ElDonitazz
    @ElDonitazz Год назад +1

    Hi, how would I add another shader graphs after the vertex displacement is applied?
    Let's say I want to add a dissolve shader, the visuals would stay in the original object's vertex position, but I want them to be processed after the vertex displacement :(

    • @LlamAcademy
      @LlamAcademy  Год назад

      It sounds like you want to have some script control the vertex displacement amount, then have a script trigger the dissolve shader. For that you can, instead of only dealing with "time", have a float input for the displacement amount and manipulate that over time with a script and using material.SetFloat("parameter name", amount). Once you've reached the desired displacement, you can do the same thing to enable/apply the dissolve.

  • @bryanlucinario9554
    @bryanlucinario9554 Год назад

    Sir can you add tutorial about ligthmaps . I just want to create custom shaders with lightmaps

  • @shorstky5910
    @shorstky5910 Год назад

    Hi, great video. Do you know how to displace faces with different power?

  • @Abdulwahab-vb6he
    @Abdulwahab-vb6he Год назад

    i have envrioment in my which have LODS , the main issues is that if check Static batching size goes up by 200mb and if i UnCheck it it goes down by 200mb , so how i can reduce size using staic batching..

  • @darkmattergamesofficial
    @darkmattergamesofficial Год назад

    Any idea how I could create a sort of "lag" in the vertices by multiplying the previous position with the current position? I want to create a sort of smudge effect when the object moves around in the scene. Thank you!

    • @LlamAcademy
      @LlamAcademy  Год назад

      Hmm........in ShaderGraph (maybe shaders in general, not sure) you don't directly have access to the "previous position". You could set a property on the shader in a script like "PreviousPosition" and maybe "MoveTime" then based on the PreviousPosition and some math related to "MoveTime" and the current time you could lerp between the old and new position.

  • @SnowyLeopardFrom1997
    @SnowyLeopardFrom1997 7 месяцев назад

    Wind to the fire cape, so my friend was once a RuneScaper :)

    • @LlamAcademy
      @LlamAcademy  7 месяцев назад +1

      Actually…..still playing 😆

    • @SnowyLeopardFrom1997
      @SnowyLeopardFrom1997 7 месяцев назад

      @@LlamAcademy then I hope one day you'll enjoy what I've been working on 😄

  • @jacobscott8277
    @jacobscott8277 Год назад

    How would I apply this shader graph if I already have a toon shader graph attached to my object?

    • @LlamAcademy
      @LlamAcademy  Год назад

      You cannot have more than 1 shader active with a particular material. You would have to edit your toon shader to incorporate this as well, or add toon shading into this shader

  • @EgoPingvina
    @EgoPingvina 8 месяцев назад

    I just have pink (or purple, I don’t understand what color it is) and nothing changes. The shader script is identical to your example.(((

    • @LlamAcademy
      @LlamAcademy  8 месяцев назад

      Usually that means you have a shader compilation error and you should get some message in the console about what is wrong

  • @suthamonhengrasmee8182
    @suthamonhengrasmee8182 Год назад

    I was trying to make an object move + Scale up and down, and it appeared weird. Could you please explain how to merge them together?

    • @LlamAcademy
      @LlamAcademy  Год назад +1

      I think that is a good challenge to demonstrate your understanding of how they work 😉. You can do both, it's just a matter of applying the proper offset to each vertex (math stuff 🙂)

    • @suthamonhengrasmee8182
      @suthamonhengrasmee8182 Год назад

      @@LlamAcademy I finally made it. Thank you very much.

  • @AtmosMr
    @AtmosMr 4 месяца назад

    Really annoying. you talk too fast and skip steps. Poor teaching.

    • @LlamAcademy
      @LlamAcademy  4 месяца назад +1

      Hmmm. Don’t think I skipped any steps. What do you feel was skipped?