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?
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.
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?
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.
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 :)
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
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.
Very good tutorial! I've learnt quite a lot with it! thanks!
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?
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.
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?
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.
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 :)
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
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.