Hi, this has got to be a simple solution but I cant find anything, or at least Im not searching the right question
Something that I find I need a lot is a black to white, non interpolated gradient. So a hard line from black to white that I can control the position, 10% to 33%, to 80% (or whatever) in U or V.
In maya I use a ramp with interpolation turned off and animate the position of the line separating the two.
create Curve asset in the content browser (right-click > miscellaneous > Curve > Curve Linear Color.
In the curve asset, set the color gradient you want then select all keyframes and right-click (on the keyframe) and select Constant.
Then, create a Curve Atlas in the content browser and add the Curve Float to the Atlas.
In your material graph, you can add a curve atlas node and set your curve atlas and curve linear color in that node.
On the curve’s timeline, if your keyframes start on 0 and end on 1, then the input to the curve atlas node will interpolate over your gradient from 0 to 1.