← Latest papers
💻 computer science

LightCrafter: PBR-Conditioned Video Diffusion Refinement for Controllable and Consistent Relighting

LightCrafter is a hybrid video relighting framework that achieves physically grounded, temporally consistent, and controllable illumination by translating PBR-rendered proxy videos rather than raw footage, leveraging a post-trained CogVideoX to capture complex effects like global illumination.

Original authors: Zixin Guo, Yehonathan Litman, Yifeng He, John Miller, Chuhan Chen, Deva Ramanan

Published 2026-07-10
📖 6 min read🧠 Deep dive

Original authors: Zixin Guo, Yehonathan Litman, Yifeng He, John Miller, Chuhan Chen, Deva Ramanan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a home video of a sunny day, but you want to magically turn it into a spooky, moonlit scene without changing the actors, the trees, or the camera's movement. That's the dream of "video relighting." But here's the catch: making light behave realistically over time is incredibly hard. If you just ask a smart AI to "make it dark," it might get confused, making the shadows flicker or the colors drift as the video plays.

The authors of this paper, LightCrafter, found a clever shortcut. Instead of asking the AI to invent the new lighting from scratch, they decided to bake the lighting into a "rough draft" first, and then just ask the AI to clean up the mess.

The Two Paths That Didn't Work (According to the Paper)

Before finding their solution, the researchers looked at two other ways people tried to do this, and they found them wanting:

  1. The "Perfect Reconstruction" Attempt: Some methods try to reverse-engineer the video to figure out exactly what the 3D shapes, materials, and lights were, and then re-render it. The paper argues this is like trying to rebuild a shattered vase perfectly just by looking at the pieces; it's often too noisy and ambiguous. If the reconstruction is slightly wrong, the new lighting looks broken.
  2. The "Magic AI" Attempt: Other methods just ask a generative AI to translate the video from "sunny" to "moonlit" using text or a map. The paper suggests this is risky because the AI might forget the rules of physics over a long video. It's like asking a storyteller to rewrite a whole novel in a new style; they might change the characters' names or forget who is standing where by the end.

The LightCrafter Solution: The "Rough Draft" Trick

The team's main finding is that you don't need the AI to understand how light works; you just need it to understand how to fix a bad drawing.

Here is their three-step recipe:

Step 1: The "Rough Draft" (The PBR Proxy)
First, they use a standard computer graphics engine (called a Physically-Based Renderer, or PBR) to create a "rough draft" of the video under the new lighting. Think of this like a sketch artist quickly drawing the scene with the new moonlight.

  • The Good News: The paper found that this "rough draft" actually does a surprisingly good job on its own! It gets the shadows and the general mood right because it follows the laws of physics.
  • The Bad News: Because the computer had to guess the 3D shapes from a flat video, the sketch has glitches. The shadows might look jagged, the textures might look plastic, or there might be weird holes where objects disappear.

Step 2: The "Polisher" (The Diffusion Refiner)
This is where the magic happens. They take a powerful video AI (based on a model called CogVideoX) and teach it one specific job: fix the glitches in the rough draft.

  • Instead of asking the AI to "make it dark," they show it the "rough draft" and the "perfect final video" side-by-side.
  • The AI learns to spot the jagged shadows and the plastic textures and smooth them out. It's like a photo editor who only knows how to remove blemishes, not how to repaint the whole picture.
  • Because the "rough draft" already has the correct lighting baked in, the AI doesn't have to guess where the light should go. It just makes it look real.

Step 3: The Long-Video Trick
Videos in the real world are long, but AI models usually get tired after a short clip. If you try to edit a long video in chunks, the lighting might drift (the moon might suddenly turn blue in the middle of the video).

  • The authors solved this by using a technique called overlap-fused temporal tiling. Imagine editing a long movie by overlapping the scenes slightly, like a puzzle, so the edges blend perfectly. They fuse the AI's predictions together so the lighting stays consistent from the very first second to the very last, no matter how long the video is.

How They Taught the AI

To make sure the AI could handle real-world messiness, they didn't just use perfect computer graphics. They built a special training pipeline:

  • Synthetic Data: They created fake videos where they knew the "perfect" answer and the "rough draft" answer.
  • Real-World Data: They took real videos, ran them through their "rough draft" process, and used the original video as the "perfect" answer.
  • The Result: By training on both, the AI learned to fix the specific kinds of errors that happen when you try to guess 3D shapes from a 2D video. The paper suggests that if you only trained on perfect computer graphics, the AI would fail on real videos, and if you only trained on real videos, it wouldn't learn the physics well enough.

What Can You Do With This?

Because the system relies on a "rough draft" that is built from 3D rules, it's surprisingly flexible. The paper shows you can:

  • Insert new lights: Add a virtual lamp to the scene, and the AI will make the shadows fall correctly.
  • Change materials: Turn a shiny car into a matte one, and the AI will adjust the reflections.
  • Move objects: The system can handle adding new objects into the scene without needing to be retrained.

The Bottom Line

The paper concludes that this "rough draft then polish" approach works better than trying to generate the whole thing from scratch or trying to perfectly reconstruct the scene first. In their tests on synthetic and real-world videos, LightCrafter produced more stable, consistent, and realistic results than previous methods.

However, the authors are honest about the limits: if the original video has very shiny, transparent, or metallic surfaces, or if the camera moves in a way that confuses the 3D guess (like motion blur), the "rough draft" might be too messy for the AI to fix perfectly. But for most scenes, this method suggests a new, more reliable way to change the mood of a video without breaking the physics.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →