Hi there, does anyone know how i can map a gradient to the luminence value of another texture with maya nodes, its basically what the photoshop gradient map adjustment does, the darker the pixel the further to one end of the gradient the oupput pixel colour is and the lighter the pixel the firther to the other end of the gradient.

thanks all
jon