Perhaps you wanted to animate a color ramp, or wanted to vary a color ramp used for hair color based on texture, or whatever. You would need a color ramp node with color inputs. I don’t know if someone’s already done this, but I couldn’t find one. So I made one.
This one has four stops. It behaves like the default Cycles color ramp set to Linear. There is no support for alpha. If people find this useful I might make some with more stops and perhaps alpha support.
This would require hardcoding into Blender itself, but this gives me the opportunity to state that it would be cool if the color-ramp node has sockets on the bottom that are attached to the sliders themselves, then Cycles would have the functionality of being able to texture the position of every color stop and bring with it some interesting texturing possibilities.
this is fantastic
do you mind if i use this for my custom toon shader project that i wanna release for the public? probably very cheap on gumroad and free on github
Hi Daniel, (if you are still around!), just to say I love this node group, I found it years ago and have used it in many experiments. I never got around to say thank you, so better late that never - thank you for sharing.
Just to add, for anyone that comes across this thread, that this node group adds possibilities that have not been mentioned. For example you can use textures as inputs for the position value.