Maybe this could be implemented with an OSL-Texture, so that we could use it with the gradient remap like Viscorbel mentioned here:
Maybe this could be implemented with an OSL-Texture, so that we could use it with the gradient remap like Viscorbel mentioned here: