Is it not the same as doing a uv map using your quad gradient as your color input and the luminance of the image as the uv?