MatSwap: Light-aware material transfers in images
Not on the map. Why?
Abstract (arXiv)
We present MatSwap, a method to transfer materials to designated surfaces in an image photorealistically. 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-to-image 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. We evaluate our method on synthetic and real images and show that it compares favorably to recent work both qualitatively and quantitatively. We release our code and data on https://github.com/astra-vision/MatSwap
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 11 Feb 2025.
Builds on
47 of 58 references.
References · 47
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2023Segment Anythingcited by 8,158
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2022Generative Adversarial Networkscited by 5,603
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
35 more
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2023InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Taskscited by 2,534
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,439
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
- 2023Zero-shot Image-to-Image Translationcited by 503
- 2022Blended Latent Diffusioncited by 430
- 2023Repurposing Diffusion-Based Image Generators for Monocular Depth Estimationcited by 323
- 2023Diffusion Self-Guidance for Controllable Image Generationcited by 305
- 2024Lotus: Diffusion-based Visual Foundation Model for High-quality Dense Predictioncited by 163
- 2017Learning to Predict Indoor Illumination from a Single Imagecited by 160
- 2024RGBleftrightarrowX: Image decomposition and synthesis using material- and lighting-aware diffusion modelscited by 159
- 2019Deep Parametric Indoor Lighting Estimationcited by 82
- 2021Diffusion Normalizing Flowcited by 77
- 2023Intrinsic Image Diffusion for Indoor Single-view Material Estimationcited by 73
- 2023HyperHuman: Hyper-Realistic Human Generation with Latent Structural Diffusioncited by 68
- 2024LightIt: Illumination Modeling and Control for Diffusion Modelscited by 56
- 2023ControlMat: A Controlled Generative Approach to Material Capturecited by 50
- 2021Self-supervised Outdoor Scene Relightingcited by 48
- 2024MatSynth: A Modern PBR Materials Datasetcited by 42
- 2023Alchemist: Parametric Control of Material Properties with Diffusion Modelscited by 38
- 2024A Diffusion Approach to Radiance Field Relighting using Multi-Illumination Synthesiscited by 37
- 2022OutCast: Outdoor Single-image Relighting with Cast Shadowscited by 30
- 2023Material Palette: Extraction of Materials from a Single Imagecited by 28
- 2023Materialistic: Selecting Similar Materials in Imagescited by 26
- 2024ZeST: Zero-Shot Material Transfer from a Single Imagecited by 24
- 2023PSDR-Room: Single Photo to Scene using Differentiable Renderingcited by 23
- 2024TexSliders: Diffusion-Based Texture Editing in CLIP Spacecited by 23
- 2024ZeroComp: Zero-shot Object Compositing from Image Intrinsics via Diffusioncited by 16
- 2024MaterialPicker: Multi-Modal DiT-Based Material Generationcited by 10
- 2025MaterialFusion: High-Quality, Zero-Shot, and Controllable Material Transfer with Diffusion Modelscited by 10
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2026Overpainting: Localized Context-aware Diffusion Image Editingcited by 1
- 2025CoatFusion: Controllable Material Coating in Imagescited by 0
- 2025FROMAT: Multiview Material Appearance Transfer via Few-Shot Self-Attention Adaptationcited by 0
- 2026EditSSC: Toward Editable Semantic Occupancy Scenes with Unconditional Diffusion Modelscited by 0
- 2026Controllable Texture Tiling with Transformed RoPE-Enhanced Diffusion Modelscited by 0
- 2026MatReplace: A Reference-Free, Conditioning-Aligned Benchmark for Material Replacement in Interior Scenescited by 0
- 2026Overpainting: Localized Context-aware Diffusion Image Editing9 Sep 2026
- 2026MatReplace: A Reference-Free, Conditioning-Aligned Benchmark for Material Replacement in Interior Scenes25 Aug 2026
- 2026Controllable Texture Tiling with Transformed RoPE-Enhanced Diffusion Models22 Jun 2026
- 2026EditSSC: Toward Editable Semantic Occupancy Scenes with Unconditional Diffusion Models8 Jun 2026
- 2025FROMAT: Multiview Material Appearance Transfer via Few-Shot Self-Attention Adaptation10 Dec 2025
- 2025CoatFusion: Controllable Material Coating in Images1 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025MatE: Material Extraction from Single-Image via Geometric Prior
- 2024MaPa: Text-driven Photorealistic Material Painting for 3D Shapes
- 2026MaTe: Images Are All You Need for Material Transfer via Diffusion Transformer
- 2025MatMart: Material Reconstruction of 3D Objects via Diffusion
- 2024Material Anything: Generating Materials for Any 3D Object via Diffusion
- 2024IntrinsicAnything: Learning Diffusion Priors for Inverse Rendering Under Unknown Illumination
- 2024MatFusion: A Generative Diffusion Model for SVBRDF Capture
- 2025RealMat: Realistic Materials with Diffusion and Reinforcement Learning