Is there a way to avoid a Smooth modifier interfering with a bump-map? I have a path that consists of a cube primitive, using four modifiers to get the effect I want (sort of):


Bevel
Array
Smooth
Curve




For the material, the most important part is a bump-map driven by a noise node.



The problem is that the Smooth modifier seems to interfere with the bump-map. I really don't want the Smooth modifier to affect the material at all - its purpose is to get the path to follow the curve more gracefully.

In the image below, I have split the sample path into two sections: the first three slabs have smoothing turned on, and you can see that the path curves gracefully, but also notice the distortion of the material. In the last three slabs, the smoothing is turned off, the slabs are angular but the material is clear.



If you zoom into the image, the distortion on the first three slabs becomes more obvious.

Is there any way to either:


Get the smooth modifier to smooth only the shape of the object; or 
Get a similar effect using something other than the Smooth modifier?
I would suggest a different method to get the same results. Here's what's happening with what you have right now:

The bevel modifier is adding a small bevel on each edge of the cube, which adds some extra vertices. The array modifier duplicates this object along a set axes, and then the smooth modifier smooths out all of the geometry.

The smooth modifier doesn't create any new geometry. Instead, the relatively high strength you are using is smoothing the object so much that the originally small bevels are now much larger. Essentially, the vertices created by the bevel modifier are getting pushed towards the center of the cube.

This is all fine, but you're noticing an issue that this method causes.

Materials are applied to the object before certain modifiers. Thus, the texture is applied to the bevel created by the bevel modifier, but then that bevel is stretched (smoothed) by the smooth modifier, and thus you get the stretched texture.

Instead, remove the bevel modifier and the smooth modifier, and use a subdivision surface modifier set to simple. This will add some extra vertices that will allow the curve to bend it smoothly.