[Unity Tutorial] Unity 2018 Shader Graph / Create Character Marker

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

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

  • @nandodixtorsion
    @nandodixtorsion 5 лет назад

    Very good tutorial! I've learnt quite a lot with it! thanks!

  • @fardinhaque70
    @fardinhaque70 6 лет назад

    Thanks for the tutorial!!
    One question, will this same shader work if i have more than one character moving on the ground? Will all the characters gonna have this pattern under them?

    • @JunichiroHorikawa
      @JunichiroHorikawa  6 лет назад +1

      this only works for one character because there is only one vector parameter set for this shader. In order for this to work for multiple characters you need to add multiple vector parameters for character positions.

    • @fardinhaque70
      @fardinhaque70 6 лет назад

      Junichiro Horikawa Ah got it. Thanks :)
      But i was wondering, what if i instantiate new players at run time, how would i go about adding new vectors3's inside the shader script?

    • @JunichiroHorikawa
      @JunichiroHorikawa  6 лет назад +1

      Sounds a bit tricky, in that case I would procedurally create a texture with characters position stored in each pixel (rgb -> xyz) and use that one texture inside the shader to collect all the positions for characters.

    • @fardinhaque70
      @fardinhaque70 6 лет назад +2

      Junichiro Horikawa Yeah that makes more sense. Thanks alot man. It's kinda hard to get answers about this stuffs online. So thanks again. Btw make a whole playlist of shader graph tutorials when its released :)

    • @ryanfranks9441
      @ryanfranks9441 6 лет назад

      This is just pure gold, I have one old screen space shader that didn't cross over from 2017 to 1018 Lightweight Rendering Pipeline, some reason it wont upgrade without a error. Maybe you know how to solve this? drive.google.com/open?id=1XvVHO6Km6YkZT3zlz-ggWig02-UFpSOV

  • @T0xIcNigHtMarE
    @T0xIcNigHtMarE 6 лет назад

    Like what you did but it seems you made it fairly limited to what it's uses could be, You should always make your scripts/shaders modular, meaning you could use it for multiple purposes. But either way really like the video. P.S next time could you please zoom in? Alot of people watch RUclips nowadays on their phones myself included and I can't really make out much.