Combine textures for a BoxMesh (not mix)

Godot Version

4.5.1

Question

I am looking for a way to use a BoxMesh, scale it dynamically (easy) and then set different textures on the mesh.
The textures do not overlap and can be updated separately.

I am trying to play around with the UVs for each texture to (as an example) set a texture per face but I cannot find how to combine them in the end without any overlapping.

This could be used for dices, cards but the end goal is to have something that I can make a bit more generic.

What hint could you give me ? This is mostly something I am doing to start doing a bit more advanced shaders but I am clearly not going in the correct direction.

I am aware that I could make a specific model in blender with a material per face and just change the texture but that limits the possibilities.

rXp

Use a single texture. Pack the sides so their positions correspond to faces in UV space.
The UV layout for BoxMesh is common 3x2, similar to what is used for cubemaps. Something like this (the actual sides may be different for Godot):

Alright that makes sense but can I make that texture with an image and directly in the shader ?

Not sure I understand what you mean.