Material Anything: Generating Materials for Any 3D Object via Diffusion

Xin Huang, Tengfei Wang, Ziwei Liu, Qing Wang

Abstract

Material Anything is a unified diffusion-based framework designed to automatically generate high-quality, Physically Based Rendering (PBR) materials for any 3D mesh. By utilizing a novel confidence mask and a triple-head U-Net architecture, the system successfully disentangles material properties from ambient lighting. This allows the model to handle a wide spectrum of inputs—including raw texture-less meshes, albedo-only models, and noisy real-world scans—without "baking in" unwanted shadows or highlights, ensuring assets remain relightable in diverse virtual environments.

Introduction

The creation of realistic 3D assets remains a significant bottleneck in industries such as game development, VR, and film. While 3D shape generation has seen rapid advancement, "texturing" these shapes for varied lighting environments is notoriously difficult. Existing automated texturing methods typically struggle with two core issues: baked-in shading and a lack of generalization. Many tools produce "flat" textures that include shadows and highlights from the source image, leading to visual inconsistencies when the object is placed in new lighting. Furthermore, most current tools are specialized for specific tasks (e.g., text-to-3D only), lacking a "one-size-fits-all" architecture capable of processing diverse input types.

Methodology

Material Anything addresses these challenges through a two-stage pipeline consisting of image-space material generation followed by UV-space material refinement.

The Material Anything pipeline overview, showing the transition from various inputs through material estimation and refinement to final rendering.

Triple-Head Diffusion Architecture

Standard image diffusion models are optimized for 3-channel RGB outputs. However, PBR materials require multiple maps: Albedo, Roughness, Metallic, and Bump. The authors modified a pre-trained U-Net to feature three distinct "heads" that share a common backbone but generate specific material maps independently. This architecture prevents "cross-talk," such as color information leaking into the bump map, ensuring high fidelity in material properties.

Confidence-Adaptive Generation

A key innovation is the use of a "confidence mask" as an additional input. This mask acts as a switch:

  • For scanned objects with realistic lighting, a high-confidence mask directs the model to extract material cues from existing light and shadows.
  • For texture-less objects, a low-confidence mask instructs the model to ignore non-existent lighting and generate materials based on text prompts and semantic cues.

Multi-View Consistency and UV Refinement

To ensure global consistency, the model generates materials view-by-view, projecting previously rendered materials into the current view's latent space. Finally, these views are "baked" onto a UV map. A specialized UV-space diffusion refiner is then employed to eliminate seams and fill holes, resulting in a clean, professional-grade texture.

Dataset: Material3D

To train this robust model, the researchers introduced Material3D, a massive dataset comprising over 80,000 3D objects curated from the Objaverse collection. Each object includes high-quality PBR material maps and UV unwrapping. The training strategy involved simulating various lighting conditions (Point, Area, and Environment) to ensure the model could handle the inconsistent data often found in real-world applications.

Results and Discussion

Material Anything demonstrates superior performance over state-of-the-art methods like NvDiffRec, Paint3D, and DreamMat.

Qualitative comparison of Material Anything against NvDiffRec and DreamMat, highlighting the model's ability to accurately identify and separate materials (e.g., wood vs. metal) and its superior efficiency.

Quantitative and Qualitative Performance

The model achieved a lower FID score (100.63) and a higher CLIP score (31.06) than its competitors, indicating better visual quality and text alignment. Qualitatively, the model excels at material disentanglement; for instance, it can correctly identify and separate metal bands from wooden planks on a barrel, whereas other models often blurred these distinct properties.

Efficiency

A major advantage of Material Anything is its speed. It produces high-quality results in approximately 3 minutes, a significant improvement over optimization-based methods like DreamMat, which can require up to 50 minutes per object.

Conclusion

Material Anything provides a unified solution for 3D texturing by effectively disentangling material properties from lighting. While the model currently relies on coarse initial textures for completely blank meshes and can struggle with extremely complex geometry, it represents a major step toward automated, high-fidelity 3D asset creation. Future work will focus on integrating coarse texture generation and expanding the model's repertoire to include complex materials like translucency and anisotropic reflections.

Summary updated

BibTeX
@inproceedings{huang2025material,
  author = {Xin Huang and Tengfei Wang and Ziwei Liu and Qing Wang},
  title = {{Material Anything: Generating Materials for Any 3D Object via Diffusion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02473},
}
Figure