creating a gradient on a geometry

I am currently trying to come up with a smooth gradient on a hollow cylinder.
But after some hard research, I couldn’t really find a solution, so I decided to try it out on a 10-sided geometry.

I decided to get UV coordinates and put parameters inside so that I could move across the gradient
since it is a 10-sided cylinder geometry.

258319-1231.png

this is the gradient that I tried to apply on the side of the geometry.
I adjusted the U parameter value by 0.1 for each side, so that the sides get a smooth gradient
However, there seemed to be a kind of shadowed feeling in between each of the sides, instead of a smooth gradient.
This is what happened.

258331-123415.png

][4]

First I thought it was from shadows, so I disabled all the shadowing, but it didn’t really help.

I tried making the geometry even in more sides, but that didn’t really help either

So, basically I have two questions.

  1. Is there a way to solve this problem? Is there something I am not understanding correctly?

  2. Is there a different way to apply such a gradient on a cylinder-type geometry?

P.S. for reference, I applied all the textures on the individual sides by increasing each of the U parameters by 0.1, manually.

I would really appreciate it if someone could help me out on this
Thank you!