Embedding Physical Reasoning into Diffusion-Based Shadow Generation
Shilin Hu, Jingyi Xu, Akshat Dave, Dimitris Samaras, Hieu Le

TL;DR
This paper introduces a physics-based approach to generate realistic shadows in images by estimating scene geometry and lighting, improving shadow accuracy and realism over previous image-space methods.
Contribution
The method explicitly models shadow formation physics, integrating scene geometry and lighting estimation with a diffusion-based generator for more accurate shadow synthesis.
Findings
Achieves 23% lower shadow-region RMSE compared to prior methods.
Achieves 30% lower shadow-region BER over state-of-the-art.
Improves shadow realism and localization in composite images.
Abstract
Generating realistic shadows for inserted objects requires reasoning about scene geometry and illumination. However, most existing methods operate purely in image space, leaving the physical relationship between objects, lighting, and shadows to be learned implicitly, often resulting in misaligned or implausible shadows. We instead ground shadow generation in the physics of shadow formation. Given a composite image and an object mask, we recover approximate scene geometry and estimate a dominant light direction to derive a physics-grounded 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputer Graphics and Visualization Techniques · Image Enhancement Techniques · Evacuation and Crowd Dynamics
