I'm trying to do like a magical girl hair transition from one material to another along hair curves (actual path curves) and I cant seem to make the (shader editor) standard separate XYZ trick work as it doesn't really flow the curve and I cant seem to figure out how to transition the material (geometry nodes) like with an IF-Than-else statement along the curve so I can use a controllable value to do it. Any suggestions on what a node tree for this might look like?
I'm trying to rig it up to flow out like this. from the base/start of the curve to the end. the curves all go the same way.
kinda like this https://gifdb.com/gif/anime-kaneki-hair-transformation-bbb7o57faihwvgrf.html
Image 1 is how I'm trying to get the material to flow. image 2 is what im currently getting with shader editor that has shown me I...probably dont want to use shader editor and need a geometry node set up...but dont know how to set one up to change between two materials dynamically with out recreating the object in the node tree.