How to Control SHADERS with SCRIPTS (Updated 2023)

Опубликовано: 01 Июнь 2026
на канале: Rigor Mortis Tortoise
5,492
108

Hey friends! Let's learn how to control shader graph values with scripts in Unity. I'll be showing you how to get and change your shader's values and how to change them in your game with a real example. Even if you're not trying to make an infinite runner, you can reuse this method for tons of different use cases with shaders. Cheers!

👾 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/)

~ Time Stamps ~
0:00 Introduction
0:39 How the effect works
1:43 Big takeaway :)
2:15 How to create a property
3:15 Creating another trigger
4:16 Writing the logic
6:28 Making the logic better
10:12 Solving for more cases