Search code examples
unity-game-engineshader

Sample gradient range in Unity Shader Graph


I'm trying to put together a simple shader with Unity' Shader graph. The material should appear white, yellow and blue - and static. However in the sample gradient, it's only displaying yellow. If I change the time input to Sine, the gradients blends through the colours. What is going wrong. enter image description here


Solution

  • Plug an "UV" node in the gradient sampler's "time" input instead of a "Time" node.