No way to specify shader graph property default values?

I’ve noticed that in recent versions of Shader Graph (specifically for HDRP shaders), you can no longer specify default values for properties. You were able to do so in older versions of Shader Graph. I’m currently using Unity 2020.2 and Shader Graph 10.2.2. I feel like I’m missing something basic here, but I’m still stumped. I’m also sort of baffled that more people aren’t asking about this. Thanks in advance for any help.

2 Likes

I figured it out. For those who have the same problem, here’s what you do…

  • create your property
  • select it
  • switch to “Node Settings” in the Graph Inspector
  • defaults are specified in there now
21 Likes

Hey, Thank you So much; you’ve saved my life

3 Likes

Thanks lcompton!!

Nice find

I am setting the default values in the shader graph but they still don’t appear in the material.

I believe you have to set the property to “exposed”, you can do so in the Node Settings panel that @lcompton mentioned