Video relighting enables creators to reshape the mood and visual emphasis of captured footage. However, existing methods lack real-time visual feedback, limit editing flexibility, and struggle with precise spatiotemporal control, while scarce real-world pairs hinder realistic generation. To address these challenges, we present FiatLux, an interactive video relighting system built around Lightgram---a pixel-aligned video of approximate direct-lighting responses rendered with a standardized material on a screen-space proxy. By driving both real-time shader previews and generative conditioning, lightgrams enable rapid iteration across diverse light types and 3D trajectories. Leveraging this aligned representation, we formulate relighting as in-context video generation and introduce interleaved RoPE alignment to enforce spatiotemporal consistency across input and target streams. To train under limited real-world supervision, we propose reciprocal illumination learning, which jointly optimizes a unified model on relighting, lightgram extraction, and incremental light addition and subtraction. Its three-stage curriculum first establishes illumination grounding on synthetic pairs, then introduces incremental editing before adapting to real-world videos using the model's own lightgram estimates. Extensive experiments show that our method outperforms evaluated baselines while producing realistic, temporally coherent results across diverse real-world scenes.
Figures & tables
Figure 2: Method overview. (a) We render lightgrams from estimated depth and normals under user-defined lights. A shared in-context Transformer processes the context latents with task-specific denoising targets. (b) Interleaved RoPE Alignment groups corresponding tokens with fixed, stream-specific temporal offsets. (c) Reciprocal Illumination Learning progresses from synthetic relighting and illumination extraction to addition and subtraction, then incorporates real-world adaptation tasks.
Figure 3: Interactive lighting control. Users can adjust lighting configurations with real-time effect previews on the source video. The corresponding lightgram can then condition video generation.
Figure 4: Data curation pipeline. Top: Rendering engines produce synthetic pairs (Vs,Vt) ; our proxy shader renders Lt and LΔ via SSRT on screen-space proxies. Bottom: Original footage serves as Vt . We synthesize perturbed Vs by apply shader-rendered LΔ on Vt . Lt is extracted by the Stage 1 model or rendered with the proxy shader. ∗ denotes area light textured with the original frames.
Figure 5: Qualitative comparison. Visual comparison of our method with baseline video relighting methods. We use point lights to align with the baselines’ lighting representations for a fair comparison. V-RGBX [ 17 ] and ID-V2V [ 50 ] are shown under static lighting, as they take only a relit first frame as input.
Task
Method
PSNR ↑
SSIM ↑
LPIPS ↓
Relighting (Replacement)
V-RGBX † [ 17 ]
11.2011
0.4375
0.3967
LightCtrl [ 43 ]
12.6060
0.3913
0.5336
Relit-LiVE [ 49 ]
14.8449
0.4778
0.4065
MiniMax H3 [ 40 ]
15.3069
0.5093
0.3633
Ours
19.2039
0.6545
0.2245
Light Addition
LiveLight [ 36 ]
14.4382
0.6465
0.3189
Table 1: Quantitative comparison evaluated on the synthetic test set. Best and second-best results are shown in bold and underlined , respectively. † V-RGBX is provided with the GT relit frames.
Method
Median RGB AE ( ∘ ) ↓
SSIM ↑
V-RGBX [ 17 ]
8.265
0.6116
LightCtrl [ 43 ]
8.202
0.5365
Relit-LiVE [ 49 ]
8.926
0.5423
MiniMax H3 [ 40 ]
7.889
0.5912
Ours
5.409
0.7135
GT-extracted (for reference)
5.229
0.7404
Table 2: Extraction-based lighting accuracy evaluated on the synthetic test set. Best and second-best results are shown in bold and underlined , respectively (excluding the GT-extracted reference).
Method
Aesthetic Quality ↑
Subj. Consist. ↑
Bg. Consist. ↑
Motion Smooth. ↑
V-RGBX [ 17 ]
0.5999
0.9363
0.9405
0.9786
LightCtrl [ 43 ]
0.5620
0.9425
0.9519
0.9874
Relit-LiVE [ 49 ]
0.5410
0.9467
0.9565
0.9903
ID-V2V [ 50 ]
0.5923
0.9438
0.9487
0.9893
LiveLight [ 36 ]
0.5833
0.9497
0.9557
0.9887
MiniMax H3 [ 40 ]
0.5830
0.9408
0.9485
0.9890
Table 3: VBench evaluation . Higher values are better. Best and second-best results are shown in bold and underlined , respectively.
Figure 6: Additional relighting results. (a) Close-up portraits under key-and-fill area lights with inferred eye highlights, interiors with sweeping shadows, and outdoor scenes. (b) A tree-like light spiral weaving around the subject. (c) Generalization to textured area lights.
Figure 7: Qualitative ablation results. The variant labels correspond one-to-one with those in Tab. 4 .
Variant
PSNR ↑
SSIM ↑
LPIPS ↓
( a ) Unaligned RoPE
18.3132
0.6134
0.2782
( b ) Aligned RoPE, zero offsets
18.1341
0.6079
0.2977
( c ) Ours (Stage 1, aligned RoPE + offsets)
18.6764
0.6335
0.2645
( d ) Ours (Stages 1+2)
19.0474
0.6468
0.2241
( e ) Multi-stage relight-only training
18.7240
0.6441
0.2315
( f ) Single-stage multi-task training
16.9998
0.5846
0.2921
Table 4: Quantitative ablation results on the synthetic test set for the relighting task. Best and second-best results are shown in bold and underlined , respectively. Note that ( a )–( c ) compare RoPE variants under synthetic-only Stage 1 training, while ( c )–( g ) all use the proposed RoPE alignment with role-specific offsets.
Setting
Stage 1
Stage 2
Stage 3
Video pairs
∼ 24k
∼ 10k
∼ 8k
Training iterations
1500
750
500
Learning rate
10−4
5×10−5
5×10−5
Table S1 : Three-stage training configuration.
Source
Task
Stage 1
Stage 2
Stage 3
Synthetic
Relighting
50%
36%
25%
Extraction
50%
36%
25%
Addition
—
18%
15%
Subtraction
—
10%
10%
Real-world
Relighting
—
—
15%
Subtraction
—
—
10%
Table S2 : Expected task sampling proportions. Percentages account for the stage-specific data composition and task sampling weights.
Figure S1 : Relighting with coarse geometric priors. Corresponding frames use Video Depth Anything [ 9 ] and NormalCrafter [ 3 ] (upper group) or DiffusionRenderer [ 30 ] (lower group). We adjust the spotlight’s 3D position to account for differences in the estimated depth scales and approximately match its placement and direction relative to the subject. In this example, the final relit videos retain similar overall illumination despite differences in the previews and lightgrams.
Figure S2 : Training dataset overview. We show exemplar synthetic and real-world video pairs with their associated lightgrams.
Figure S3 : Example context IR caption for illumination replacement. Reference tags distinguish source appearance from target lighting guidance, while structured fields specify the editing intent and preservation requirements.
Method
Median AE ( ∘ ) ↓
SSIM ↑
SA-SSIM ↑
V-RGBX [ 17 ]
7.225
0.6283
0.7231
LightCtrl [ 43 ]
12.427
0.3745
0.3830
Relit-LiVE [ 49 ]
9.275
0.5230
0.5678
MiniMax H3 [ 40 ]
6.954
0.6095
0.6566
Ours
5.171
0.7057
0.7437
Table S3: Independent shading evaluation on the same synthetic test set as the main paper, using a frozen Marigold estimator. SA-SSIM aligns one gain per video. Best and second-best results are shown in bold and underlined , respectively.
Figure S4 : Additional qualitative comparison. We use point lights to align with the baselines’ lighting representations for a fair comparison. V-RGBX [ 17 ] and ID-V2V [ 50 ] are evaluated under static lighting, as they take only a relit first frame as lighting guidance. Seedance outputs are omitted for cases blocked by its built-in safety filtering for videos depicting real people. MiniMax H3 exhibits temporal misalignment with the source video in Case 2 and delayed relighting in Case 3, where the target illumination appears only in later frames.
Figure S5 : Additional qualitative comparison (continued from Fig. S4 ). We use point lights to align with the baselines’ lighting representations for a fair comparison. V-RGBX [ 17 ] and ID-V2V [ 50 ] are shown under static lighting, as they take only a relit first frame as input. Outputs for Seedance are omitted on certain cases due to its built-in safety filtering on real-human videos. LiveLight exhibits pronounced facial deformation in the middle case, while Seedance introduces a black-and-white film style in the rightmost case.
Figure S6 : Additional relighting results of our method on in-the-wild videos. Cases 1–2 demonstrate lighting-intensity changes. Cases 3–6 illustrate spatially varying illumination. Cases 6–7 further show plausible removal of the original warm orange reflection on the bookshelf, unveiling the underlying shelf details with new illumination and shadows.
Figure S7 : Qualitative comparisons under environment-map illumination. We compare our method against environment-map-based baselines, including Relit-LiVE [ 49 ] (evaluated in its native environment-map setting) and the concurrent work JointLight [ 34 ] . Alongside the source and relit frames, we also visualize the actual lighting conditioning representations derived from the target environment map for each method: the raw environment map for Relit-LiVE, 3D-reconstruction-based irradiance cues for JointLight, and our lightgrams.
Figure S8 : Material–illumination ambiguity under colored source lighting. Our lighting replacement correctly preserves structure and texture but produces color shifts relative to the ground truth.