Unity Shader Graph - How to Update Shaders in Code

  Рет қаралды 2,963

Rigor Mortis Tortoise

Rigor Mortis Tortoise

Күн бұрын

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

Пікірлер: 11
@dayvsondossantossilva37
@dayvsondossantossilva37 Ай бұрын
Hey, thank you for you explanation, don't stop to create that's videos, they are so great. I have been learning much with your videos :)
@GeeCeeAte
@GeeCeeAte 4 ай бұрын
You have the most elegant and simple description of a yield within a coroutine that I have ever heard. I've been using yields/returns for over a decade, while never truly understanding how they work outside of the update method. Everyone has such a long winded explanation of when and how to use them. Your simple explanation is by far the best I have ever heard. Thanks for that haha.
@swingdes2
@swingdes2 8 ай бұрын
Very well explained. Cool, J'aime bien :)
@derekjones4
@derekjones4 11 ай бұрын
So cool! ❤
@RigorMortisTortoise
@RigorMortisTortoise 11 ай бұрын
Thank you! :)
@ufukozkan570
@ufukozkan570 5 ай бұрын
thanks a lot
@carlosvalencia2763
@carlosvalencia2763 6 ай бұрын
I'm relatively new to Unity and want to know if there's a way to trigger the dissolve animation on player collision. Basically I want a player to walk towards an object and have the object dissolve out of the scene. Do I just replace the if (Input.GetKeyDown) statement to an OnTriggerEnter (Collider)?
@StickyLabDev
@StickyLabDev 2 ай бұрын
can not even control via script
@mikethemusicman1978
@mikethemusicman1978 10 ай бұрын
Hi Holly, do you have any C# classes online that I could follow, I like the vocal delivery of your tutorials, they're very detailed and would love a chance to learn C# from you.
@RigorMortisTortoise
@RigorMortisTortoise 9 ай бұрын
Been meaning to find this comment, first of all thank you so much! I do not currently have one, but I'm planning on making one very soon 😊
@mikethemusicman1978
@mikethemusicman1978 9 ай бұрын
@@RigorMortisTortoise Thank you Holly, I'm truly humbled. To learn from you would be an honour.
Building code-free shaders in Unity with Shader Graph
30:02
AdamCYounis
Рет қаралды 66 М.
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 158 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 2,5 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 6 МЛН
DISSOLVE using Unity Shader Graph
10:33
Brackeys
Рет қаралды 666 М.
Simulating Wind in URP (Shader Graph Tutorial)
6:59
Unity
Рет қаралды 75 М.
Unity The simplest outline - ShaderGraph
3:24
Stormer
Рет қаралды 36 М.
Unity in 100 Seconds
2:45
Fireship
Рет қаралды 1,1 МЛН
Unlocking The Power Of Unity's Scriptable Render Pipeline
21:05
Game Dev Guide
Рет қаралды 186 М.
Unity Shader Graph Basics (Part 1 - Your First Shader)
7:40
Daniel Ilett
Рет қаралды 31 М.
Realistic Water Colour in ShaderGraph
11:42
eleonora
Рет қаралды 14 М.
Impossible Geometry with Stencil Shaders in Unity URP
7:02
Daniel Ilett
Рет қаралды 44 М.
Dissolve effect in Shader Graph
19:23
PabloMakes
Рет қаралды 29 М.