My problem and what I triedI'm currently trying to set a property in Unitys new shader graph via my c# script. I tried the below, but it didn't work.
material.SetVector("Offset", new Vector2(xCoord, zCoord));
What I am doingI'm trying to make a water effect. I'm currently using perlin, and than editing an offset to make waves. I than made a water shader (in unitys new shader graph tool), and would like to try and match it against the offset so that it looks more realistic. Any suggestions? It would be greatly appreciated.