I have created this material which fades to transparency from the bottom to the top.
This is the output which is ok:
However I would like to control the position where the fading happens (that is the upper handle in the colour ramp) to be controlled from the outside by the Z-position of an empty as that position is relevant for other settings in the scene. How can I achieve that?
Blend file is attached.
MaterialHorizFade.blend (506 KB)