Unity Shader Graph - How to Update Shaders in Code

Опубликовано: 30 Март 2026
на канале: Rigor Mortis Tortoise
8,321
211

Let's learn how to access and change Unity Shader Graph values in code!

If you want to learn how to make the dissolve shader in shadergraph watch this video:    • How to Make a Dissolve Shader Unity (Updat...  

👾 Join the Discord!   / discord  

🫶 Access Code Files and Projects! [patreon.com/RigorMortisTortoise](  / rigormortistortoise  )

~ Contact ~
📷 Instagram: @rigor_mortis_tortoise
⏱️TikTok: Rigor_MortisTortoise
💌 Email: [[email protected]](mailto:[email protected])
🐢Website: [rigormortistortoise.com](http://rigormortistortoise.com/)

~ Chapters ~
0:00 Introduction
0:18 Recap
0:35 The Logic Behind This
0:50 Grabbing the Property & Reference
1:13 What not to do
1:36 Introducing...LERP!
2:00 Let's talk about time
2:38 The code!
2:50 How to create a Coroutine
5:34 How to Call the Coroutine
6:04 The lerp works
6:17 Lerping Colors - Shader Graph
6:38 Updating the Colors in Code