Inverse VFX: Recovering Executable Effect Trees from Text and Video

Generative models now produce convincing 3D assets and 4D dynamics, yet the real-time visual effects (VFX) used throughout games and film remain challenging. Video generators output pixels that cannot be edited, and large language models (LLMs) that write engine code face a vast interface in which errors often pass silently. To make effect generation executable and learnable, we cast it as an inverse problem: given a text description and, optionally, frames sampled from a reference video, recover an effect tree, a closed-vocabulary program that a deterministic executor compiles into a native effect in Unreal Engine, Unity, or Godot. Because the tree is a supervised target, a render-in-the-loop data engine can recombine a small set of tutorial effects into a large corpus of paired trees, videos, and descriptions, on which we fine-tune an open LLM to write trees under a grammar constraint. We further introduce VFX-Bench, a benchmark that judges only the rendered video against per-prompt checklists, so that tree-writing models, coding agents, and retrieval are compared on the same footing. Every output of our model compiled and rendered in UE, and fine-tuning recovers several times more of the elements in held-out effects than the untuned backbone. Frontier agents that write effect trees match their own native agents or even exceed them, in about a quarter of the model time, and deliver every prompt, while our small model still trails such agents by a wide margin.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03822
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Inverse VFX: Recovering Executable Effect Trees from Text and Video

Bozhou Li, Ruichuan An, D. M. Hua, Dongge Yu et al.
arXiv
Generative Adversarial Networks and Image Synthesis
preprint

Inverse VFX: Recovering Executable Effect Trees from Text and Video

Bozhou Li, Ruichuan An, D. M. Hua, Dongge Yu, Chengzhuo Tong, Kaixin Zhu, Yiyan Ji, Yifan Yang, Yang Shi, Yifan Dai, Wentao Zhang, Sheng Zhang, Xinlong Chen, Kai Zeng, Yue Ding, Yuanxing Zhang, Zihao Wu, Heng Chang, Zhou Liu, Bohan Zeng, Yuran Wang
preprint en

Abstract

Generative models now produce convincing 3D assets and 4D dynamics, yet the real-time visual effects (VFX) used throughout games and film remain challenging. Video generators output pixels that cannot be edited, and large language models (LLMs) that write engine code face a vast interface in which errors often pass silently. To make effect generation executable and learnable, we cast it as an inverse problem: given a text description and, optionally, frames sampled from a reference video, recover an effect tree, a closed-vocabulary program that a deterministic executor compiles into a native effect in Unreal Engine, Unity, or Godot. Because the tree is a supervised target, a render-in-the-loop data engine can recombine a small set of tutorial effects into a large corpus of paired trees, videos, and descriptions, on which we fine-tune an open LLM to write trees under a grammar constraint. We further introduce VFX-Bench, a benchmark that judges only the rendered video against per-prompt checklists, so that tree-writing models, coding agents, and retrieval are compared on the same footing. Every output of our model compiled and rendered in UE, and fine-tuning recovers several times more of the elements in held-out effects than the untuned backbone. Frontier agents that write effect trees match their own native agents or even exceed them, in about a quarter of the model time, and deliver every prompt, while our small model still trails such agents by a wide margin.

arXiv
Northeastern University (US), Nanyang Technological University (SG), Shanghai Jiao Tong University (CN), Chinese Academy of Sciences (CN), Peking University (CN), Institute of Automation (CN), Kuaishou (China) (CN), Nanjing University (CN)
Generative Adversarial Networks and Image Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon