World Tiled material (worldCoord) on 3 axis

Hello!
can someone help me? I want to make a autotiling material, but if i use a WorldCoord node - in only tyles by 2 axis (XY), but Z goes broken (
how can i fix it/make a fully 3d tiled material?

why not use the world aligned material and world aligned normal nodes?
they do exactly that, on XY and Z

Test it just now.
don`t understand how do it properly :frowning:

oh… now i get it - ty!