Lighting-grounded Video Generation with Renderer-based Agent Reasoning

Ziqi Cai, Taoyu Yang, Zheng Chang, Si Li, Han Jiang, Shuchen Weng, Boxin Shi

TL;DR

LiVER introduces a novel framework for controllable video generation that jointly models layout, camera trajectory, and physically accurate lighting. By translating text prompts into editable 3D scene proxies via LLM agents and rendering them into multi-pass 2D control signals, LiVER achieves state-of-the-art photorealism and precise, disentangled control over video synthesis.

What Problem Does This Paper Address?

While text-to-video diffusion models have made massive leaps in visual quality, precise user control remains a major bottleneck. Core scene elements—such as where objects are placed (layout), how the camera moves, and how light interacts with materials—are typically entangled within the model's latent space.

Existing 3D-grounded video generation methods focus heavily on geometry and camera trajectories but largely ignore physically accurate lighting. As a result, generated videos often suffer from unrealistic artifacts like mismatched shadows, floating objects, or reflections that fail to respect material properties (e.g., the sheen of metal or the translucency of skin). LiVER aims to solve this by treating lighting as a first-class, unified component of physical scene control.

Methods

LiVER bridges the gap between high-level user intent and physics-grounded video synthesis using a three-part pipeline:

  1. Renderer-based Agent Reasoning: When a user inputs a text prompt, an LLM-based agent decomposes it into a structured scene graph, retrieves matching 3D assets from a library, configures an appropriate High Dynamic Range (HDR) environment map for lighting, and plans a smooth camera trajectory.
  2. Lighting-grounded Scene Proxy: Instead of feeding raw 3D data directly into a video model, LiVER uses a 3D engine (Blender) to render a stack of 2D physical passes. This "scene proxy" includes diffuse passes (for low-frequency ambient lighting), rough GGX passes (for medium-frequency reflections), and glossy GGX passes (for high-frequency specular highlights).
Figure 3. Pipeline of LiVER. Given a text prompt T, our Scene Agent parses object categories, spatial relations, and coarse geometry to construct an initial 3D scene. The Camera Agent infers a camera trajectory consistent with the described viewpoint and scene semantics, producing the camera condition C. The 3D scene is then rendered through a physically-based renderer to obtain the lighting-grounded scene proxy, including diffuse, glossy GGX, and rough GGX components, forming the scene condition Xcond. These components encode physically meaningful cues such as material response, shading, and reflections. The Lighting condition L, represented by an environment map, provides global illumination cues. The DiT-based video diffusion model integrates all conditions Xcond, C, L and generates a photorealistic video that preserves the scene layout, camera trajectory, and physically accurate lighting behavior.
  1. Video Generation Backbone & Conditioning: Built on top of the Wan2.2-5B foundation model, LiVER uses a lightweight 2D convolutional encoder to compress the 9-channel scene proxy stack. This feature map is injected directly into the video model's latent space as a learnable spatial residual ($z' = z + \alpha \cdot z^y$).

To ensure stable convergence without destroying the foundation model's generative priors, the authors employ a three-stage training scheme:

  • Stage 1: Freeze the video backbone; train only the proxy encoder and adapter modules.
  • Stage 2: Jointly fine-tune the encoder alongside LoRA layers integrated into the video backbone.
  • Stage 3: Expand lighting diversity by mixing real-world and synthetic data in a 1:1 ratio.

Datasets

To train and evaluate the model, the authors introduced LiVERSet, a dataset containing over 11,000 video clips (81 frames each at 720×1280 resolution), split into 10K for training and 1K for evaluation. It consists of two subsets:

  • LiVER-Real: Real-world videos annotated via a custom pipeline. Camera poses and first-frame depth are extracted using VGGT, objects are segmented via Grounding-DINO and SAM 2 to create a coarse 3D mesh, and global lighting is estimated as an HDR environment map using DiffusionLight-Turbo.
  • LiVER-Syn: A procedurally generated synthetic dataset utilizing high-quality PBR materials from Objaverse-XL and HDR maps from Poly Haven, featuring dynamic lighting rotations (yaw adjustments between $180^\circ$ and $240^\circ$) to simulate moving light sources.
Figure 2. Our data annotation pipeline for LiVER-Real. We process each video to reconstruct its 3D geometry and estimate its HDR environment map. These are then used to render three pixel-aligned lighting representations (Diffuse, Glossy GGX, Rough GGX), which are concatenated to form the final conditioning input.

Key Insights and Ideas

  • 2D Render Passes as the Ultimate Bridge: Rather than forcing a diffusion model to understand complex 3D representations directly (which often requires computationally heavy 3D convolutions), converting 3D properties into standard graphics render passes (diffuse, glossy, rough) allows a standard 2D/Spatiotemporal network to easily digest physical cues.
  • Outsourcing Physics to Graphics Engines: By leveraging Blender to compute the complex math of light-material interactions beforehand, the diffusion model doesn't have to learn physics from scratch; it merely learns to photorealistically "translate" the shading signals into pixels.
  • The Danger of End-to-End Training: The authors discovered that training the entire network end-to-end from scratch causes the model to overfit, resulting in nearly static video outputs. A progressive, stage-wise introduction of conditioning signals via LoRA is essential to preserve motion and visual quality.

Key Results

LiVER was evaluated against state-of-the-art controllable video models including CameraCtrl, MotionCtrl, and VideoFrom3D.

  • Quantitative Performance: LiVER achieved the lowest Fréchet Video Distance (FVD) of 32.45 (first 16 frames) and 32.56 (full 81 frames), significantly outperforming baselines. It also achieved the highest semantic consistency (CLIP score) and the lowest lighting and layout errors (measured via mIoU).
  • Disentangled Controllability: Users can continuously manipulate the underlying HDR environment map to rotate light sources or change the time of day while the geometry, object layout, and camera path remain perfectly stable.
Figure 5. By manipulating the HDR environment map, our model produces continuous and physically consistent lighting variations. We show the diffuse, glossy, and rough GGX components of the scene proxy (top three rows) and the corresponding synthesized outputs (bottom). Lighting changes are reflected in shading and reflections while geometry and materials remain stable.

Limitations and Future Work

Because the initial 3D scene reconstruction generated by the agent is relatively coarse, the framework relies heavily on the text prompt to fill in fine-grained geometric and material details. Consequently, the final video quality can be sensitive to prompt engineering. The authors plan to address this in future work by developing more sophisticated prompt engineering and scene interpretation capabilities for their LLM agents.

Summary updated

BibTeX
@inproceedings{cai2026lighting,
  author = {Ziqi Cai and Taoyu Yang and Zheng Chang and Si Li and Han Jiang and Shuchen Weng and Boxin Shi},
  title = {{Lighting-grounded Video Generation with Renderer-based Agent Reasoning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=LUwsh7RVoz},
}
Figure