Tiling for the cube with fixed size of brick

I gonna spawn variety of 3D-boxes based on the one Cube Mesh by changing the scale for each axes.
In that case, size of bricks will be different for each face.

How may I do the same size of brick that does not depend on the scale?

I see one way only with the individual UVs for each face and adjusting it using the Texture Coordinate node and the variables that correspond to the scales.

May be you know more easiest way?

Yes, thank you.

Actually this is not 3D-cube. This is 3D-box!
It means all faces will have an individual scale.
It’s possible to solve this way using individual UV as I told above.

However, I asked alternative ways.

You can create a variable in the material that controls the scale of the texture uv’s, then set that variable in the material on each instanced cube when you spawn it.

//hope that helped, glhf

resolved here