Controllable Shadow Generation with Single-Step Diffusion Models from Synthetic Data

Onur Tasar, Clément Chadebec, Benjamin Aubin
12/16/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Realistic shadow generation is a critical component for high-quality image compositing and visual effects, yet existing methods suffer from certain limitations: Physics-based approaches require a 3D scene geometry, which is often unavailable, while learning-based techniques struggle with control and visual artifacts. We introduce a novel method for fast, controllable, and background-free shadow generation for 2D object images. We create a large synthetic dataset using a 3D rendering engine to train a diffusion model for controllable shadow generation, generating shadow maps for diverse light source parameters. Through extensive ablation studies, we find that rectified flow objective achieves high-quality results with just a single sampling step enabling real-time applications. Furthermore, our experiments demonstrate that the model generalizes well to real-world images. To facilitate further research in evaluating quality and controllability in shadow generation, we release a new public benchmark containing a diverse set of object images and shadow maps in various settings. The project page is available at https://gojasper.github.io/controllable-shadow-generation-project/

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tasar2024controllable,
  title  = {Controllable Shadow Generation with Single-Step Diffusion Models from Synthetic Data},
  author = {Onur Tasar and Clément Chadebec and Benjamin Aubin},
  year   = {2024},
  eprint = {2412.11972},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.11972v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.11972.svg)](https://codeofpaper.com/paper/2412.11972)

Discussion