Using a texture atlas with slight modifications in the geometry (uvs + additional buffer attribute for sides) and a material, you can create this: https://jsfiddle.net/prisoner849/3zanmcbt/
Using a texture atlas with slight modifications in the geometry (uvs + additional buffer attribute for sides) and a material, you can create this: https://jsfiddle.net/prisoner849/3zanmcbt/