Рет қаралды 2,963
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...
👾 Join the Discord! / discord
🫶 Access Code Files and Projects! [patreon.com/RigorMortisTortoise]( / rigormortistortoise )
~ Contact ~
📷 Instagram: @rigor_mortis_tortoise
⏱️TikTok: Rigor_MortisTortoise
💌 Email: [hello@rigormortistortoise.com](mailto:hello@rigormortistortoise.com)
🐢Website: [rigormortistortoise.com](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