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
- Bozhou Li (ORCID: https://orcid.org/0009-0001-7519-5733)
- Ruichuan An (ORCID: https://orcid.org/0009-0000-3758-4335)
- D. M. Hua
- Dongge Yu
- Chengzhuo Tong (ORCID: https://orcid.org/0009-0005-7678-5494)
- Kaixin Zhu
- Yiyan Ji (ORCID: https://orcid.org/0009-0009-9363-5315)
- 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
Institutions
- 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)
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