Unity : Shader Graph - Control Properties with C# Script 😎 [15 mins]

Channel:
Subscribers:
198
Published on ● Video Link: https://www.youtube.com/watch?v=-a7n-4gILC8



Category:
Tutorial
Duration: 15:17
1,727 views
0


How to control shader properties by script in Unity plus a simple and quick Shader Graph tutorial.
Shader not changing? Fix it: Make sure you change the Reference!
CHAPTERS :
0:00 - Getting started
1:27 - Shader Graph - Make a new shader from scratch
4:27 - Adding an editable property to the shader
6:10 - Set the reference value SUPER IMPORTANT!
7:38 - Make a material with the new shader
8:25 - Script to change the shader value
11:31 - Material.SetFloat SUPER IMPORTANT!
12:18 - Changing a value over time in Update
13:53 - Finishing Up - Fill in your fields
14:42 - Testing







Tags:
unity
shadergraph
C#
scripting
parameters
game development
how to
tutorial
basic
simple
beginner
how-to
properties
shader graph
shader graph unity
script
Material.SetFloat