Embedding Physical Reasoning into Diffusion-Based Shadow Generation Under the Sun and Sky
Not on the map. Why?
Abstract (arXiv)
Generating realistic cast shadows for inserted foreground objects requires reasoning about scene geometry and illumination. However, most learning-based approaches treat shadow generation as an image translation problem and capture these physical relationships only implicitly. This often results in misaligned or implausible shadows. Motivated by the physics of shadow formation, we introduce explicit geometric guidance for outdoor shadow generation. Given a composite image and a foreground object mask, we recover approximate scene geometry and estimate a dominant light direction to derive a coarse shadow estimate via geometric reasoning. While coarse, this estimate provides a spatial anchor for shadow placement. Because illumination cannot always be uniquely inferred from a single image, we predict confidence scores for both lighting and shadow cues and use them to regulate their influence during generation. These cues (shadow mask, light direction, and their confidence scores) condition a diffusion-based generator that refines the estimate into a realistic shadow. Experiments on DESOBAV2 show substantially improved shadow-region fidelity and localization, with an overall 23% lower shadow-region RMSE and 30% lower shadow-mask BER than the prior state-of-the-art method.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 45 of its 63 references that are in the map. First posted on arXiv 5 Dec 2025.
Builds on
45 of 63 references.
References · 45
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
- 2022A ConvNet for the 2020scited by 3,545
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Modelscited by 1,439
- 2024Depth Anything V2cited by 1,385
- 2024Depth Anything: Unleashing the Power of Large-Scale Unlabeled Datacited by 1,346
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
- 2023AnyDoor: Zero-shot Object-level Image Customizationcited by 411
33 more
- 2024UniDepth: Universal Monocular Metric Depth Estimationcited by 375
- 2023Metric3D: Towards Zero-shot Metric 3D Prediction from A Single Imagecited by 357
- 2025MoGe-2: Accurate Monocular Geometry with Metric Scale and Sharp Detailscited by 250
- 2017Stacked Conditional Generative Adversarial Networks for Jointly Learning Shadow Detection and Shadow Removalcited by 160
- 2019DoveNet: Deep Image Harmonization via Domain Verificationcited by 134
- 2019Towards Ghost-free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GANcited by 102
- 2022ShadowDiffusion: When Degradation Prior Meets Diffusion Model for Shadow Removalcited by 102
- 2019Shadow Removal via Shadow Image Decompositioncited by 96
- 2019Mask-ShadowGAN: Learning to Remove Shadows from Unpaired Datacited by 91
- 2018ST-GAN: Spatial Transformer Generative Adversarial Networks for Image Compositingcited by 90
- 2017GP-GAN: Towards Realistic High-Resolution Image Blendingcited by 64
- 2024IMPRINT: Generative Object Compositing by Learning Identity-Preserving Representationcited by 64
- 2021Making Images Real Again: A Comprehensive Survey on Deep Image Compositioncited by 63
- 2023DiffusionLight: Light Probes for Free by Painting a Chrome Ballcited by 63
- 2020From Shadow Segmentation to Shadow Removalcited by 59
- 2017Direction-aware Spatial Context Features for Shadow Detectioncited by 56
- 2020HDR Environment Map Estimation for Real-Time Augmented Realitycited by 46
- 2019All-Weather Deep Outdoor Lighting Estimationcited by 41
- 2017A+D Net: Training a Shadow Detector with Adversarial Shadow Attenuationcited by 39
- 2020Shadow Removal by a Lightness-Guided Network with Training on Unpaired Datacited by 38
- 2020Physics-based Shadow Image Decomposition for Shadow Removalcited by 38
- 2021Shadow Generation for Composite Image in Real-world Scenescited by 35
- 2019Revisiting Shadow Detection: A New Benchmark Dataset for Complex Worldcited by 34
- 2023EverLight: Indoor-Outdoor Editable HDR Lighting Estimationcited by 32
- 2022Controllable Shadow Generation Using Pixel Height Mapscited by 22
- 2024Shadow Generation for Composite Image Using Diffusion modelcited by 17
- 2023Eclipse: Disambiguating Illumination and Materials using Unintended Shadowscited by 14
- 2019Weakly Labeling the Antarctic: The Penguin Colony Casecited by 12
- 2024Diff-Shadow: Global-guided Diffusion Model for Shadow Removalcited by 10
- 2024Shadow Removal Refinement via Material-Consistent Shadow Edgescited by 5
- 2024SwinShadow: Shifted Window for Ambiguous Adjacent Shadow Detectioncited by 4
- 2023Local-to-Global Panorama Inpainting for Locale-Aware Indoor Lighting Predictioncited by 3
- 2025BOOTPLACE: Bootstrapped Object Placement with Detection Transformerscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MultiShadow: Multi-Object Shadow Generation for Image Compositing via Diffusion Model
- 2024Controllable Shadow Generation with Single-Step Diffusion Models from Synthetic Data
- 2024SpotLight: Shadow-Guided Object Relighting via Diffusion
- 2026Domain-Grounded Candidate Selection for Agentic Image Editing: A Shadow Removal Case
- 2025Parametric Shadow Control for Portrait Generation in Text-to-Image Diffusion Models
- 2026DiffusionShadow: Diffusion-based Shadow Caching for Neural Volume Rendering
- 2026PI-Light: Physics-Inspired Diffusion for Full-Image Relighting
- 2026After a Decade: Bringing Shadow Removal into the Real World with Agentic Training Data