this is one more from my how-to series ... but this time I took care to put the bar somewhat higher ... it is not as simple as the previous questions were ;-)
Matt has done this excellent video (http://vimeo.com/29185012) showing how to combine (blend) two materials, well actually textures, but that should work with any kind of material.
Now I want to replace the diffuse color of one material by a gradient which is "driven" by a grayscale image map where the intensity picks a color value from the linear gradient (black=leftmost color, white=rightmost color, other values are interpolated from the gradients color range).
Below is a reference image from the final result done in another renderer:
This is the gradient:
This is the image map used as "input" to the gradient diffuse color and as bump map too:
I managed to build up the gradient but have no idea how to use the grayscale values as input for it.
Any help would be appreciated.
Message edited by Caustics on 9/16/2011 - 11:16 PM