How to render each side of cube separately?

I guess it has to do with shader.

You just need a cube mesh that is unwrapped the way you want. Unity’s cube primitive has mapped each side to the full texture. The primitive objects are ment as placeholders. You would create your actual meshes in a modelling tool like Blender, 3dsMax, Maya, …