- Home /
How can I access a shader value
I need to know how to modify the emission value from the new unity 5 standard shader.
Thanks.
Comment
Im using
GetComponent().material.SetColor("_EmissionColor", Color.black);
But I cant find a way for change the float value.
Answer by UnEnte · Feb 01, 2016 at 05:11 PM
Ill answer myself, its the same but GetComponent() and then access the material