Manuscript Offprint

arXiv:2608.29925

Dior: Drawing the Light of Image via Material-Decoupled Illumination Representation

Xuanpu Zhang, Xuesong Niu, Haoxiang Cao, Ruidong Chen, Jianhao Zeng, Changqian Yu

Abstract

Controllable image relighting is an important problem in image editing, and hand-drawn scribbles provide an intuitive interface for specifying the desired illumination. However, existing methods do not establish a consistent and effective mapping between scribble inputs and relighting results, limiting their ability to control illumination intensity, chromaticity, and complex spatial distributions. We address this limitation by introducing a material-decoupled illumination representation, termed the Lumi Map, which establishes an explicit mapping between user scribbles and the resulting illumination, thereby improving both relighting accuracy and controllability. Specifically, we use a renderer to synthesize source image-Lumi Map-relit image triplets and train the model to predict the target relighting result conditioned on the Lumi Map. To mitigate the domain gap introduced by synthetic data, we further perform reconstruction training on real relighting pairs, improving the model's generalization to real-world images. Finally, we present Dior-Light, an image relighting method controlled by hand-drawn strokes. Extensive experiments demonstrate that our method outperforms existing approaches in relighting accuracy and enables effective control over illumination intensity and chromaticity on in-the-wild images.

Date: arXiv version, August 2026

1 Introduction

Image relighting is a longstanding problem in image editing and has advanced rapidly with modern generative models. Given a photograph, the goal is to change its illumination while preserving the original viewpoint, geometry, surface reflectance, and subject identity. Recent diffusion-based relighting methods have substantially improved visual realism [7, 19, 22]. However, precise illumination control remains a key bottleneck. A straightforward approach to explicit control is to decompose an image into illumination-related components, such as an environment map or shading, and scene attributes, such as geometry and material properties [2, 20, 24]. The illumination components can then be modified independently before the image is recomposed. However, this approach relies heavily on the accuracy of image decomposition, while high-quality illumination representations are often difficult to obtain for real-world photographs.

Scribble-driven relighting instead investigates how to control target illumination using sparse lighting cues, enabling users to interactively adjust the relighting result through hand-drawn scribbles. Existing methods have demonstrated that the rich priors of generative models can achieve global relighting from local, sparse lighting conditions [4, 12]. However, such control is primarily expressed through the spatial distribution of illumination, while other lighting

Figure

Figure 1 Controlling illumination in images with hand-drawn strokes. Our method enables users to directly specify illumination in an image through simple strokes. By adjusting the stroke values, users can achieve material-consistent changes in both illumination intensity and chromaticity.

attributes, such as intensity and chromaticity, remain less explicitly controllable.

Achieving accurate and controllable scribble-driven relighting requires addressing two fundamental challenges. (a) Predicting a complete illumination distribution from a sparse illumination representation is inherently underdetermined. Without a well-defined mapping between the lighting scribble and the target illumination, precise control cannot be achieved. During inference, this ambiguity may manifest as drift in lighting attributes or as relighting results that remain constrained by the distribution of the training data. (b) Training data with physically consistent light transport are difficult to obtain. Triplets consisting of an input image, a lighting condition, and a relit image with a consistent mapping are typically synthesized using a renderer. However, the inherent distribution of synthetic data can limit the model's performance on real-world images. In particular, models trained on synthetic data lacking high-frequency details tend to produce unintended over-smoothing when applied to real images.

SRGB

Irradiance

Shading

Phong

Lumi map

Figure

Figure

Figure

Figure 2 Comparison of illumination representations. In a Cornell box lit from above, irradiance includes material-dependent interreflections, while shading ignores indirect illumination and introduces additional errors through ideal Lambertian decomposition. Phong captures only the light–normal relationship, omitting occlusion and distance attenuation. In contrast, the Lumi Map directly represents the spatial distribution of source illumination incident on scene surfaces.

To address the first challenge, we define a material-decoupled illumination representation, termed the Lumi Map, which encodes not only the spatial distribution of illumination but also its intensity and chromaticity. Existing methods typically adopt shading maps or Phong-based representations as lighting conditions. The former entangle illumination with the material properties of object surfaces, whereas the latter fail to capture occlusion relationships, as illustrated in Fig. 2. We learn the mapping between the lumi map and the corresponding relighting result. At inference time, modifying the values of the lumi map enables controllable relighting while preserving material consistency. Specifically, we carefully design a data-synthesis pipeline to ensure a consistent correspondence between each lumi map and its relighting result. By strictly controlling exposure parameters, normalizing material properties, and varying camera viewpoints and light-source attributes, we increase data diversity while preserving this mapping. Finally, we directly export the lumi map in linear color space and use it as the illumination condition.

For the second challenge, we train a lumi map estimator to infer lumi maps from real relighting image pairs, thereby constructing training triplets of the form (Is,Lt,It)(I_s, L_t, I_t), where IsI_s is the source image, LtL_t is the target illumination condition, and ItI_t is the target image. Recent work, such as Vision Banana, has shown that generative models can learn visual representations through fine-tuning with a relatively small amount of data. We realize this process through a two-stage training strategy. In the first stage, using synthetic data, we jointly train a general-purpose image editing model on two tasks: Lumi-driven image relighting and lumi map estimation from images. In the second stage, we incorporate real relighting pairs and estimate the illumination representation of the target image online during training, denoted as the target lighting LtL_t. We then use LtL_t as the conditioning signal, together with the source image IsI_s, to predict the target image ItI_t. This design aligns the forward process used in training with that used at inference time, while also improving the model's ability to generate realistic relit images.

We evaluate the accuracy of our method in performing relighting from sparse illumination representations on paired data with ground-truth targets. Both quantitative and qualitative results demonstrate the effectiveness of our approach. In addition, we evaluate its scribble-driven relighting performance on manually annotated real-world images. The experimental results show that our method achieves state-of-the-art relighting accuracy while enabling continuous and consistent illumination control in real-world test scenarios.

Our contributions can be summarized as follows: (a) We introduce a material-decoupled illumination representation that facilitates learning a more consistent mapping between illumination conditions and relighting results, thereby enabling more accurate control. (b) Building upon this high-quality illumination representation, we propose a unified training framework for relighting and illumination estimation, which extends training from synthetic data to real-world data. (c) Finally, we present a state-of-the-art scribble-driven image relighting method that produces high-quality relighting results on real-world images.

References (22)