Any example of updating Shadergraph shader's parameter through script?

okay cool ill start with neutral xd

by user 263967078346653697

btw

by user 263967078346653697

custom shadergraph sample is broken

by user 263967078346653697

prefabs are missing

by user 263967078346653697

image.png

by user 263967078346653697

The sample doesnt have those prefabs as far as I can see


image.png

eh

by user 263967078346653697

image.png

by user 263967078346653697

image.png

by user 263967078346653697

by user 263967078346653697

i can’t even get to the shader xd

by user 263967078346653697

ah this i might know

by user 263967078346653697

Mark it with @serializable(Material), it looks like you forgot that

ye seems like it’s working!

by user 263967078346653697

did it with (GameObject)

by user 263967078346653697

thankuuuu

by user 263967078346653697

ah sorry if its a renderer @serializable(Renderer)

wait no it doesn’t work, my material just becomes invisible

by user 263967078346653697

i have set the material as exportshader

by user 263967078346653697