#How to change shader parameter programmatically in editor/tool script?

1 messages · Page 1 of 1 (latest)

pastel mica
#

Though the editor displays the changes when I run the @tool, the shader-parameter remains default in the inspector and reloading the scne uses those default values.

#

using:

pastel mica
#

Solution:

It appears the value passed into the shader parameter was not a float and did not save.