TexPro: Text-Guided PBR Texturing with Procedural Material Modeling

Ziqiang Dang, Wenqi Dong, Zesong Yang, Bangbang Yang, Liang Li, Yuewen Ma, Zhaopeng Cui

Introduction

Generating high-fidelity, relightable textures for 3D meshes from textual descriptions remains a significant challenge in computer graphics. While existing text-to-texture methods can produce visually appealing RGB diffuse maps, they often suffer from "baked-in" lighting, shadows, and highlights. This lack of physical consistency prevents these assets from responding naturally to dynamic lighting environments. Furthermore, 2D-to-3D generative processes frequently encounter the "Janus problem"—where objects exhibit inconsistent multi-face artifacts—and spatial misalignment between generated 2D views and the underlying 3D geometry.

To address these limitations, we present TexPro, a framework designed to generate Physically-Based Rendering (PBR) materials. By leveraging procedural material modeling and Multi-modal Large Language Model (MLLM) reasoning, TexPro produces resolution-independent, editable, and relightable textures that maintain high fidelity across diverse lighting conditions.

Methodology

The TexPro pipeline is structured into three primary stages: multi-view reference generation, material agent guidance, and procedural material optimization.

Multi-view Reference Generation

The process begins by generating high-quality 2D reference images from multiple viewpoints using Stable Diffusion and ControlNet. These models are conditioned on the mesh's depth and normal maps to ensure geometric consistency. To mitigate misalignment between the 2D generations and the 3D mesh, a segmentation-based "Matcher" tool is employed to create precise masks for individual object components.

MLLM-based Material Agent

A core innovation of TexPro is the integration of a "Material Agent" powered by GPT-4V. Traditional material classification often fails due to the ambiguity of baked lighting in AI-generated images. The Material Agent overcomes this by performing part-level semantic reasoning. By analyzing the context of a mesh component (e.g., identifying a "cushion" on a chair), the agent provides a prioritized list of plausible material types (e.g., fabric, leather), which serves as a robust prior for subsequent optimization.

Procedural Material Optimization

Rather than directly predicting pixel values, TexPro optimizes the parameters of a differentiable procedural material graph using the DiffMat library. This optimization occurs in two stages:

  1. Initial Parameter Fitting: Material parameters are optimized under a fixed lighting assumption to match the reference images.
  2. Joint Optimization: Both material properties and environmental lighting are jointly refined. By adaptively placing virtual area lights to mimic the reference lighting, the system accurately recovers specular properties and surface details.

Experimental Evaluation

TexPro was evaluated using three diverse 3D datasets: 3D-FUTURE (industrial furniture), 3DCoMPaT (part-level material compositions), and Objaverse (a large-scale general-purpose 3D object repository).

Comparative Results

Quantitative user studies indicate that TexPro significantly outperforms state-of-the-art baselines such as TEXTure and Text2Tex. On a 5.0-point scale for overall quality, TexPro achieved a score of 4.64, compared to 3.44 for Text2Tex and 3.16 for TEXTure.

Qualitatively, TexPro eliminates common artifacts like blurry textures and the Janus problem. Because the output consists of true PBR maps (roughness, metallic, normals), the resulting assets can be seamlessly integrated into standard rendering engines like Blender. This allows for realistic relighting, where reflections and shadows dynamically adjust to the environment—a capability missing in traditional diffuse-only methods.

Discussion and Conclusion

TexPro demonstrates the power of combining generative AI with procedural modeling. The use of procedural materials ensures that outputs are resolution-independent and fully editable by artists in professional suites like Adobe Substance Designer.

Limitations and Future Work

Despite its strengths, TexPro is currently constrained by the variety of materials in the DiffMat library, which limits its ability to generate highly specific semantic details like logos or complex text. Additionally, the framework currently requires pre-segmented meshes. Future research will focus on integrating automatic shape analysis to handle unsegmented geometry and exploring hybrid approaches that combine procedural bases with generative fine-grained detailing.

Summary updated

BibTeX
@inproceedings{dang2024texpro,
  author = {Ziqiang Dang and Wenqi Dong and Zesong Yang and Bangbang Yang and Liang Li and Yuewen Ma and Zhaopeng Cui},
  title = {{TexPro: Text-Guided PBR Texturing with Procedural Material Modeling}},
  booktitle = {Comput. Vis. Media},
  year = {2024},
}
Figure