# Neural Gaffer: Relighting Any Object via Diffusion

### Under submission

Paper
Code

### Neural Gaffer is an end-to-end 2D relighting diffusion model that accurately relights objects in images under various lighting conditions.

### Abstract

Single-image relighting is a challenging task that involves reasoning about the complex interplay between geometry, materials, and lighting. Many previous methods either support only specific categories of images, such as portraits, or require special capture conditions, like using a flashlight. Additionally, other methods often explicitly decompose a scene into intrinsic components, such as normals and BRDFs, which can be inaccurate or under-expressive. In this work, we propose a novel end-to-end 2D relighting diffusion model, called Neural Gaffer, that takes a single image of any object and can synthesize an accurate, high-quality relit image under any novel environmental lighting condition, simply by conditioning an image generator on a target environment map, without an explicit scene decomposition. Our method builds on a pre-trained diffusion model and fine-tunes it on a synthetic relighting dataset, harnessing and revealing any inherent understanding of lighting present in the diffusion model. We evaluate our model on both synthetic and in-the-wild Internet imagery and demonstrate its advantages in terms of generalization and accuracy. Moreover, by combining with other generative methods, our model enables many downstream 2D tasks, such as text-based relighting and object insertion. Our model can also operate as a strong relighting prior for 3D tasks, such as relighting a radiance field.

### Relighting Comparisons with IC-Light

We compare with IC-Light on single-image relighting under unseen lighting conditions.

#### Scene