MatSwap: Light-aware Material Transfers in Images

Loading...
Thumbnail Image
Date
2025
Journal Title
Journal ISSN
Volume Title
Publisher
The Eurographics Association and John Wiley & Sons Ltd.
Abstract
We present MatSwap, a method to transfer materials to designated surfaces in an image realistically. Such a task is non-trivial due to the large entanglement of material appearance, geometry, and lighting in a photograph. In the literature, material editing methods typically rely on either cumbersome text engineering or extensive manual annotations requiring artist knowledge and 3D scene properties that are impractical to obtain. In contrast, we propose to directly learn the relationship between the input material-as observed on a flat surface-and its appearance within the scene, without the need for explicit UV mapping. To achieve this, we rely on a custom light- and geometry-aware diffusion model. We fine-tune a large-scale pre-trained text-toimage model for material transfer using our synthetic dataset, preserving its strong priors to ensure effective generalization to real images. As a result, our method seamlessly integrates a desired material into the target location in the photograph while retaining the identity of the scene. MatSwap is evaluated on synthetic and real images showing that it compares favorably to recent works. Our code and data are made publicly available on https://github.com/astra-vision/MatSwap
Description

CCS Concepts: Computing methodologies → Texturing; Image processing; Rendering; Reflectance modeling; Computer vision

        
@article{
10.1111:cgf.70168
, journal = {Computer Graphics Forum}, title = {{
MatSwap: Light-aware Material Transfers in Images
}}, author = {
Lopes, Ivan
and
Deschaintre, Valentin
and
Hold-Geoffroy, Yannick
and
Charette, Raoul de
}, year = {
2025
}, publisher = {
The Eurographics Association and John Wiley & Sons Ltd.
}, ISSN = {
1467-8659
}, DOI = {
10.1111/cgf.70168
} }
Citation
Collections