Gradient node in Shader Graph has a very sharp falloff. Switching from Gamma to Linear didn’t affect anything.
Exposed gradient in the inspector shows regular much smoother falloff as normal, it affects just the node it seems.
The same in 2021.2.0a19 and 2021.2.0a17 (It was fine in 2020.2)
1 Like
Using Lerp does the same thing. And it also reflects in the material.
For comparison inspector gradient (same alpha):
Interesting how the shader graph gradient looks like its in linear color space while the inspector one is in gamma colour space. You can try using pow(x, 1/2.2) to convert t into gamma space when evaluating the gradient in the graph.
Thanks, I’ll try that!
Same thing happening with color picker inside Shader Graph as well, btw. It looks off, like it is in linear space too. That’s not the desired result isn’t it?