How to expose the gradient in ShaderGraph and change it via code?

Hi,

there is a Gradient Property in ShaderGraph and i would like to set the values differently via Code.

How can i do that?

2 Likes

Why is the Gradient Property in ShaderGraph not exposable??
This is a fundamental basic operation. What is the point of the gradient if you can only use it in the graph and not modify the values.

ShaderGraph is a great tool but definitely needs work.
Blender3D has had this functionality for Years!!

Would be quite handy indeed…

Hello, I’ve made tool trying to solve this problem - GitHub - mitay-walle/com.mitay-walle.gradient-texture: Unity Gradient Texture generator

2 Likes