I want to make a color (or a ramp) to fade to another color based on the distance from the camera.
How can this be done?, I need it to work with Mental Ray.
Thank's in advance.
P.S.: I used to use a kind of "volumetric ramp" based on the radius of a renderSphere but Mental Ray doesn't know what to do with that, it works like a charm in MAYA software though.