cs.CVSep 30, 2026

MatLoom: Layered Text-to-Material Generation in a Compact Program Space

Authors: Anson Y. Lam, Shuqing Li, Michael R. Lyu

Organizations: Department of Computer Science and Engineering The Chinese University of Hong Kong Hong Kong, China

Abstract

Material generation should produce not only an appearance, but also the rules that construct it. We introduce MatLoom, a compact, layer-oriented language for text-to-material generation with pretrained language models. Each program composes alpha-masked layers whose shared spatial expressions define coverage and physically based rendering (PBR) channels, making dependencies between patterns, color, and relief explicit. A standalone interpreter evaluates the program into material maps, while the source retains named fields and layer parameters for subsequent authoring. Without task-specific fine-tuning, our pipeline uses parser-guided repair and preview-based critique to revise material designs, then searches noise seeds while keeping each candidate's remaining source fixed. On a curated benchmark of 141 prompts evaluated with six backbones, our best-performing configuration achieves higher mean scores than three diffusion baselines on all four flat-layout prompt-alignment metrics. Its initial programs already exceed all three baselines on mean BLIPScore, before critique or seed search. Retained programs have a median length of 21 lines when pooled across backbones. In a blind four-way comparison involving 30 participants and 20 prompts, our renders receive 59.2% of choices, compared with 19.3% for the most-preferred baseline. Compact executable programs thus offer a way to generate prompt-aligned materials while retaining their construction as part of the asset.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. MaPa: Text-driven Photorealistic Material Painting for 3D Shapes

    Apr 26, 2024Shangzhan Zhang, Sida Peng, Tao Xu +7Differentiable RenderingMaterials

  2. Reflecting Process Expertise in Procedural Material Generation

    Jul 14, 2026Kunal Gupta, Gaurav Joshi, Yen-Ru Chen +3Motion GenerationTraces

  3. PRISMat: Policy-Driven, Permutation-Invariant Autoregressive Material Generation

    May 15, 2026Claire Schlesinger, Circe Hsu, Peter Schindler +1Data-Driven Materials DiscoveryPrism