MaterialFusion: High-Quality, Zero-Shot, and Controllable Material Transfer with Diffusion Models
Kamil Garifullin, Maxim Nikolaev, Andrey Kuznetsov, Aibek Alanov
TL;DR
The paper tackles exemplar-based material transfer in natural images, aiming for high fidelity transfer with preserved geometry and backgrounds in a zero-shot setting. It introduces MaterialFusion, a unified diffusion-based framework that fuses GaR (Guide-and-Rescale) with IP-Adapter, supplemented by a dual masking strategy and a Material Transfer Force parameter $\lambda$. The method leverages Stable Diffusion v1.5, classifier-free guidance, and DDIM inversion to achieve controlled edits, and demonstrates superior quality and balance between transfer and detail preservation over baselines, supported by quantitative metrics (CLIP, LPIPS) and user studies. Code is released, enabling replication and application to real-world editing and visualization workflows.
Abstract
Manipulating the material appearance of objects in images is critical for applications like augmented reality, virtual prototyping, and digital content creation. We present MaterialFusion, a novel framework for high-quality material transfer that allows users to adjust the degree of material application, achieving an optimal balance between new material properties and the object's original features. MaterialFusion seamlessly integrates the modified object into the scene by maintaining background consistency and mitigating boundary artifacts. To thoroughly evaluate our approach, we have compiled a dataset of real-world material transfer examples and conducted complex comparative analyses. Through comprehensive quantitative evaluations and user studies, we demonstrate that MaterialFusion significantly outperforms existing methods in terms of quality, user control, and background preservation. Code is available at https://github.com/ControlGenAI/MaterialFusion.
