arXiv(opens in a new tab)cs.CVAug 2026Cited by 6 papers on PaperVantage

Manuscript Offprint

arXiv:2608.27168

Magpie: Real-Time World Renderer for Interactive Games

Xiaoyu Zhan, Xinyu Wang, Xiaohong Zhang, Huanjie Zhu, Tengjiao Sun, Pengcheng Fang, Jiaxing Yu, Yanwen Guo, Dongjie Fu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Modern game development relies heavily on conventional graphics pipelines. High-quality visual content requires modeling, material authoring, animation, lighting, effects, and runtime optimization, making asset production expensive and extending the development cycle of game prototypes. Recently, video foundation models are beginning to change film and video production, but games differ from linear media, they require not only continuous and realistic imagery, but also stable and reproducible gameplay rules, object states, and interaction outcomes. We present Magpie, a real-time generative world-rendering system for interactive games. Magpie separates gameplay execution from visual generation. Designers define scenes and rules in a game engine. At runtime, the Game Engine resolves player actions and maintains world state, while an independent Render Server generates visual output from white-box frames produced by the engine. The Render Server receives a text prompt and a first-frame image specifying the visual style only during initialization. During subsequent interaction, white-box frames serve as the continuing denoising condition, and camera poses retrieve historical frames relevant to the current viewpoint. Player actions, state variables, object properties, and event signals remain in the Game Engine and will not be passed directly to the Render Server. The generative model is therefore responsible for visual presentation, while the Game Engine continues to execute gameplay rules and control state. To train Magpie, we manually collect approximately 300 hours of interactive video in Unreal Engine scenes. The data covers basic locomotion, viewpoint changes, driving, sitting, collision interactions, and idle states, with synchronized high-fidelity renderings, white-box renderings, camera poses, and

∗^{*}Equal contribution. †\daggerCorresponding author. https://zhanxy.xyz/Magpie-website structured interaction records. Magpie provides a system-level implementation path for applying generative models to real-time game rendering. It preserves gameplay designability and reproducibility, and reduces the dependence of early game prototypes on complete visual assets.

1 Introduction

Conventional graphics pipelines are constrained by both asset-production cost and runtime performance. High-quality game renderings depends on a complete workflow spanning modeling, texturing, materials, rigging, animation, lighting, and performance optimization, often requiring sustained collaboration among many specialists. Even with ray tracing or high-quality rasterization on consumer GPUs, complex materials, illumination, and environmental phenomena remain approximations. Compared with the quality of visual-asset production, gameplay and experience design more directly constitute the core value of a game. While these production costs and technical barriers make it difficult for many creators to produce a visually polished game independently. As technology advances, the recent visual capabilities of video foundation models offer a new means of reducing the cost of game rendering production. These models are already affecting film production, which likewise depends on asset creation and rendering workflows. When will games follow suit?

Games, however, are not videos that simply unfold over time. They are designed interactive systems in which players participate. Designers construct intended experiences through rules, numerical parameters, and state relationships. It does not require every session to produce the same outcome, but it requires the same actions and states to retain stable meanings under the specified rules. Only under this condition can mechanics be tested and adjusted, design knowledge be communicated accurately, and a local prototype be developed into a complete product.

Game engines provide an executable system description for such interactive experiences. Spatial constraints, object states, interaction rules, event conditions, and state transitions are maintained explicitly by the engine. Collision volumes, traversal permissions, cooldowns, hidden triggers, and progression flags leave little reliable evidence in rendered images and are therefore difficult to infer from video, but they can be represented directly in an engine. Designers can also use the engine to inspect state, modify rules, replay scenes, and compare versions, making it possible to analyze how a specific design change affects the resulting experience. The game engine is therefore not only the software environment in which a game runs, but also the foundation of gameplay design and iteration. During the initial phase of gameplay design, designers can forego high-fidelity assets and instead use coarse models, which are adequate for constructing a functional prototype.

In order to ensure the visual experience of players, conventional real-time graphics pipelines must approximate real-world material appearance and light transport within a limited frame time. Physically based shading, baked lighting, reflection approximations, and post-processing can efficiently represent many common effects, but complex materials, indirect illumination, translucent media, changing weather, and surface interactions remain difficult to reproduce fully. High-quality imagery also depends on a complete asset-production process, including modeling, topology, UVs, textures, material calibration, rigging, animation, lighting, effects, and multiple levels of optimization. The resulting imagery remains constrained by asset coverage and runtime budgets. A game prototype may therefore have complete gameplay but still fall short of conveying the designer's intended experience, as finishing the visual assets will demand extra time and money.

Video generation models use a different approach to visual modeling. Large diffusion Transformers such as Wan and Seedance learn correspondences among appearance, motion, and multimodal conditions (Team Wan et al. 2025; Team Seedance et al. 2026; Agarwal et al. 2026; HaCohen et al. 2026; Chen et al. 2026a). These models can represent highly realistic materials, lighting, environmental detail, and object motion, while adapting to different visual styles. Once trained, the same model can produce multiple visual styles from simple conditions, making the marginal cost of exploring a new appearance much lower than rebuilding a production asset set. Their present strength, however, lies primarily in generating observable imagery rather than maintaining game rules and state. A video model alone cannot reliably guarantee consistent interaction rules or provide designers with precise state control and debugging tools. Apart from this, applying them to real-time games additionally requires timely responses to player input, preservation of necessary history during continuous interaction, and stable adherence to scene structure.

Motivated by this division of responsibilities, we present Magpie, a real-time generative world-rendering system for controllable interactive games. Gameplay Design defines scenes and rules; the Game Engine resolves player actions, executes those rules, and maintains world state; and the Render Server hosts the generative world renderer and produces visual output. A text prompt and first-frame image initialize the Render Server. Once interaction begins, white-box frames generated by the engine are the only continuing denoising condition, while camera poses retrieve historical frames related to the current viewpoint. Player actions, game state, object properties, and event signals remain in the Game Engine and are never passed directly to the Render Server.

Within this system, the Game Engine determines what happens in the game world and stores gameplay-related state. Designers can inspect and modify that state and reproduce the same interaction under controlled conditions. The Render Server generates the corresponding imagery from structural conditions supplied by the engine, but does not participate in judging or executing gameplay rules. This separation preserves the designability and reproducibility of the original game system while allowing a generative model to participate in real-time visual construction.

For players, Magpie can generate different visual styles, materials, lighting, environmental details, and secondary motion for the same playable scene, enabling more flexible visual expression and personalized experiences. For devel-opers, Magpie can reduce the dependence of the prototype stage on complete visual assets. A white-box scene can approach the intended visual effect before detailed modeling, texturing, rigging, lighting, and performance optimization are complete. Developers can therefore evaluate gameplay and experience design earlier while continuing to control rules, state, and iteration directly through the Game Engine. Within this framework, generated imagery serves visual presentation, while its foundation remains the game system explicitly constructed by designers.

References (48)