global variables in shader graph??
is there any way to create a global variable for shader graph ? i tried create a custom node and then change te required value via a script but i cant access to output values or input values thanks and sorry for mi english (google translator edition)
Answer by Lune · Feb 26, 2020 at 08:37 PM
is not very intuitive, but create the property in the blackboard (where you expose parameters) and disable exposed, that will make shader graph to read that value from global variables, hope it helps
Answer by Rispat-Momit · May 10, 2019 at 05:40 AM
This might help :)
https://answers.unity.com/questions/1509757/shader-graph-edit-parameters-from-script.html
Your answer
Follow this Question
Related Questions
Checking variables in GameController from a gameobject? 0 Answers
Why does Unity Editor not reset playerpref values between tests? 2 Answers
I Can't get the real time static int from another script plz help! 0 Answers
How can I access to child objects variables from other C# script ? 0 Answers
C# Get Highest variable name 2 Answers