So I made a gradient material shown in the picture.

enter image description here

It should fade out on Z axis.

But on the actual mesh that I applied the texture on. The color faded out to Y axis instead of Z axis.

enter image description here Any solution to this problem?

  • 5
    $\begingroup$ You seem to be using some cylinder object as texture coordinate origin, that cylinder object may be rotated in relation to the tree. Either remove the object from the Texture Coordinates node, clear its rotation, or apply the rotation. You also don't need to duplicate your gradient node setup for each shader. They seem identical, so you can plug the same Gradient Ramp to both the Diffuse and Glossy nodes $\endgroup$ – Duarte Farrajota Ramos May 11 '17 at 23:34

Texture Coordinates then Mapping node connected to your gradient texture. Just play with the rotation and you'll be all set.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.