How do i create several instanced meshes with the same geometry but with different textures?

Hi!
Maybe this topic will be helpful: How to apply offsets for texture atlas in InstancedMesh?