If I create a (very basic) gradient shader it's applied to the whole object the same way. Even if exists a different material for the small rectangle but same nodes I get the same result:
But, is there an automatic way to copy that nodes to a new material (in this case the drawer) and get the gradient according to the size of the polygons similar to this image?
I had to change the color ramp in the drawer material manually, but if the gradient could adapt to the size of the polygons it would be great.
Thanks!