MaPa is an innovative method for generating materials for 3D meshes based on textual descriptions. This technology utilizes segmented procedural material maps to represent appearances, supporting high-quality rendering and offering significant flexibility in editing. Leveraging a pre-trained 2D diffusion model, MaPa bridges the gap between text descriptions and material maps without requiring a large amount of paired data. The technology decomposes shapes into multiple parts and employs a control-segment diffusion model to synthesize 2D images aligned with the mesh segments, initializing the material map parameters. These are then refined through a differentiable rendering module to produce materials that match the textual description. Extensive experiments demonstrate that MaPa outperforms existing techniques in terms of realism, resolution, and editability.