Texturing by cooling a metallic melt in a magnetic field