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.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Lam, A. Y., Li, S., & Lyu, M. R. (2026). MatLoom: Layered Text-to-Material Generation in a Compact Program Space. https://omanscience.com/en/articles/matloom-layered-text-to-material-generation-in-a-compact-program-space

MLA 9

Lam, Anson Y., et al. "MatLoom: Layered Text-to-Material Generation in a Compact Program Space." https://omanscience.com/en/articles/matloom-layered-text-to-material-generation-in-a-compact-program-space.

Chicago (author–date)

Lam, Anson Y., Shuqing Li, and Michael R. Lyu. 2026. "MatLoom: Layered Text-to-Material Generation in a Compact Program Space." https://omanscience.com/en/articles/matloom-layered-text-to-material-generation-in-a-compact-program-space.

Harvard

Lam, A. Y., Li, S. and Lyu, M. R. (2026) 'MatLoom: Layered Text-to-Material Generation in a Compact Program Space', Available at: https://omanscience.com/en/articles/matloom-layered-text-to-material-generation-in-a-compact-program-space.

Vancouver

Lam AY, Li S, Lyu MR. MatLoom: Layered Text-to-Material Generation in a Compact Program Space. https://omanscience.com/en/articles/matloom-layered-text-to-material-generation-in-a-compact-program-space

IEEE

A. Y. Lam, S. Li, and M. R. Lyu, "MatLoom: Layered Text-to-Material Generation in a Compact Program Space," https://omanscience.com/en/articles/matloom-layered-text-to-material-generation-in-a-compact-program-space.