Tiling material?

I am trying to make a material that automatically tiles a texture on world geometry with a constant tile-size, because I don’t want to set variables manually on every object after scaling it.

It seems that plugging WorldCoords-XY into a texture sample’s UV-input does exactly what I want, but only on the xy-plane. Any idea how I can make this work with vertical geometry as well?

why not use the world-aligned texture and world aligned-normal nodes?

Didn’t know about those :confused:
Exactly what I was looking for, thanks!