Unity Shader Graph - Changing Parameters in Script

preview_player
Показать описание


In this video I show you how to show you how to change a shader's parameters in a C# script.
-----------------------------------------------------------------------------------------------------------
If you liked the video then please respond with a like and a subscribe to show your support for the channel and I'll repay you by creating more tutorials to teach you the wonder that is Unity :D
Рекомендации по теме
Комментарии
Автор

OMG! I spent 2 hours trying to find out how to change the shader parameters, and you just showed me. Thank you so much!!

coolcucumber
Автор

This is the best video I have ever seen on changing shader graphs. The guy helped me making my paintball game 1000 times more than any drawing paint on surface tutorial ever did!
Thank you for this!

BlinkersGameDev
Автор

Love this video. SO seldomly have I found exact answers to what I'm looking for in such brief order.

williamfhallett
Автор

Thank you so much for making this tutorial. I finally finished my project after getting stuck for days

SayyidahHumairah
Автор

Thank you for this video. Solved my problem. Was trying to change the texture of the shader on my skybox material. The properties ID in the shader is all I needed. thanks.

jpmadulid
Автор

you are a geniouuus! thank you man!

what i wanted how i wanted the correct way, super helpful.!!

wow your channel its a gold mine!!

spiral
Автор

So that was the trick... using these weird reference names !! Thanks man, saved my life !

wholesomedokichannel
Автор

I was watching you do the "This game Lies" Game Jam earlier. How funny I had to look for a way to access a shader parameter and the best info I found was your video. That is way cool. Good Job on the video. I did not know to look for such a crazy string name. I did exactly what you did. Your video was super, super, useful. I am creating a parallelax shader for LWR (Lit Sprite 2D Renderer) at least trying to.(This is mbalrog6)

mbalrog
Автор

The tip about the parameter names was the end to a long period of banging my head against the wall, thank you 🙏 .

josiahvarughese
Автор

thanks you so much, I really needed this!

johni
Автор

ohmygod finally. i have been stuck in the same problem for days lol. thankyou! you earn a like and a subscribe

poperblx
Автор

This video saved my life, thank you very much

brunogattai
Автор

Thank you, the part around 6:20 solved my problem! Great tutorial!

marekmichalovic
Автор

Thank you for sharing your knowledge and experience!!!

ThM
Автор

I'm working with your same shader, and I need precisely your code XDDD Good Tutorial!

jiggliniggly
Автор

You can change the reference name of the properties in the shader graph. For every property there’s a „Reference“ box where you can change the name.

dafabulousdude
Автор

Thanx man, you made the things lot easier.

jamiljawhar
Автор

Thanks for making this video! I've never used shaders before so I would have been lost on the issue you show at 6:29 for a LONG time.

dayliss
Автор

thank you so much. I 've just subcribed your channel.:))

tixitigame
Автор

This was great, I was wondering how to access shader properties in script 😁😁

Letsgomagic