arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.31466

AnyGameRenderer: Entity-Consistent Generative Rendering Across Games and an Entity-Level Benchmark

Ruicong Liu, Liangyang Ouyang, Fengbo Lan, Zhixiang Wang, Kaipeng Zhang

Ruicong Liu*, Liangyang Ouyang*, Fengbo Lan, Zhixiang Wang, Kaipeng Zhang

Alaya Lab

AI coding agents can now build small playable games in minutes, but the results usually look like programmer art: gray blockouts, colored geometric primitives, and flat semantic blobs. We present AnyGameRenderer, a video-to-video generative renderer that turns such footage into high-quality visuals with characters, motion detail, and effects. Throughout, it keeps the layout, camera, and every entity's position and timing intact. Our AnyGameRenderer generalizes across a wide range of genres that agents build, such as tower defense, auto-battlers, top-down survivors, turn-based battles, kart racing, and crowd runners. AnyGameRenderer takes plain video as its game-state input, with no complex representations such as engine G-buffers, per-object class labels, or low-poly proxies. Gray blockouts, colored primitives, semantic maps, and wireframes all work as input. It also preserves entity correspondence: group counts stay correct, and entities appear and disappear on the right frame. We implement AnyGameRenderer by LoRA fine-tuning MiniMax-H3 ref2va, a 33B reference-video-conditioned video generation model. Training uses ~10k paired clips from three sources: (i) multi-stream rendering data from 38 agent-made games exported from GEAR, an AI game-creation tool; (ii) two-stream rendering data from Unreal Engine, with programmatically controlled crowds, count changes, and entity scales; and (iii) real gameplay recordings, with pairs reconstructed via 3D-box detection. To evaluate the entity correspondence, we propose an entity-level benchmark of 59 held-out cases with 753 entities, scored against ground-truth boxes. Compared with the base model, AnyGameRenderer better preserves entity correspondence: temporal match rises from 50.9% to 62.9%, missed count changes fall from 34.7% to 21.3%, and fewer entities are hallucinated or left unrendered.

Project Page: https://alaya-lab.github.io/AnyGameRenderer

Code: https://github.com/AlayaLab/AnyGameRenderer

Correspondence: Kaipeng Zhang

Note: * Equal contribution

Date: October 23, 2026

Figure

ALAYA LAB

1 Introduction

Coding agents and tools, such as GEAR [1] game-creation system, can now turn a one-paragraph prompt into a playable game in minutes, complete with game logic, physics, camera, win conditions, and working HUD [7]. What they cannot produce is good art. The output usually contains gray boxes, colored cylinders, and cones on flat-shaded ground. Human studios spend months replacing this kind of "programmer art" through modeling, texturing, and lighting. Splitting a game into an engine that manages state and a generative model that renders pixels has quickly become a common idea. Concurrent systems such as CWM [8], PWM [15], Matrix-Game 4.0 [32], StreamRender-H3 [29], Marionette [26], and SolarRenderer [33] all adopt it in some form. We do not argue for this setting. Instead, we build a rendering layer that is more general in what it accepts and more faithful in what it keeps.

As shown in Figure 1, AnyGameRenderer takes a crude gameplay recording and a text prompt (optionally with a style anchor image), and outputs the same gameplay re-rendered in the prompted style, frame-aligned with the input. It adds characters, motion detail, and effects, while keeping the layout, camera, and

Diverse game genres

Figure

Different input forms

Figure

Wireframe whitebox

Coarse 3D mockup

2D semantic map

Primitive ellipsoids

One input, many output styles

Figure

Figure

User Input

"Create a racing game with a desert track"

Text

Image

Sketch

AI Writes Game

Generate game code, assets, and logic.

Figure

Game Engine

Handles game logic, physics, interactions, etc.

Game Logic

Physics

AI / NPC

Scene

Blockout Output

Low-detail / unfinished

Figure

Our Method

Final Output

High-quality visuals

Figure

Figure

Style Switching

One game, multiple visual styles.

Realistic

Cartoon

Cyberpunk

Anime

Save Time

No textures, no animation — just a blockout. We render the rest.

Vibe gaming (code + models + textures + animation)

Logic

Modeling

Texturing

Animation

T1T_{1}

Ours (code + blockout)

Logic

Blockout

T2T_{2}

skipped: texturing & animation

T2<T1T_{2} < T_{1}

Figure 1 AnyGameRenderer turns crude gameplay into polished game visuals. Top: one checkpoint handles diverse genres and input types, and renders one input in many styles. Insets show the crude input. Bottom: an agent writes the game and the engine outputs a blockout, which AnyGameRenderer renders into the final visuals. This allows style switching and skips modeling, texturing and animation.

every entity's position and timing. This brings two practical benefits. A game can easily switch to a new visual style by changing only the prompt. It also makes vibe gaming faster, since a game only needs code and a blockout, without modeling, texturing or animation.

There are three properties that set AnyGameRenderer apart. (1) It generalizes across genres. Prior and concurrent works are demonstrated mainly on third-person, first-person, or driving footage, with limited coverage of the genres that agents actually produce. As illustrated in Figure 1, AnyGameRenderer generalizes across a wide range of genres, including tower defense, auto-battlers, top-down survivors, turn-based battles, kart racing, crowd runners, arena survival, co-op games, and shooters. In addition, it accepts diverse input types, including gray blockouts, colored primitives, semantic maps, wireframes, and coarse mockup.

(2) It keeps entity correspondence. The hard part of game rendering is bookkeeping: twelve enemies become nine when three die; a reinforcement wave walks in at t=4.2 st=4.2\ s; a tiny far-away mob must not dissolve into fog. AnyGameRenderer substantially improves entity correspondence: group counts stay correct, entities appear and disappear on the right frame, and fewer small entities are lost. The zero-shot base model often fails here: entities never appear, colored blocks stay unrendered, and characters appear even when they are not in the input.

(3) Its input is plain video. Many concurrent systems rely on costly or complex representations, such as per-object class labels (StreamRender-H3, CWM), state-augmented 3D boxes (PWM), or low-poly engine proxies (Matrix-Game 4.0). AnyGameRenderer instead accepts whatever a crude game looks like, including gray blockouts, colored primitives, semantic-colored maps, wireframes, and coarse clay figures, at different granularities and with one checkpoint.

To achieve these properties, we build paired (crude video, styled video) data from three sources. (i) GEAR's multi-stream rendering data covers 38 agent-made games, helping the model generalize across genres and input types. (ii) Two-stream rendering in Unreal Engine uses scenes scripted with same-color groups that change count mid-clip, entity sizes from 20 to 600 px, and frame-aligned appearance and disappearance, teaching the model to keep entity correspondence. (iii) Real gameplay recordings, converted into crude inputs by 3D-box detection, help the model render realistic scenes. Together they yield 10,330 training clips.

Existing renderers are evaluated at the frame level, with edge agreement, point tracks, or pairwise judges, which cannot tell whether each entity is rendered correctly. We therefore design an entity-level benchmark of 59 held-out cases with 753 entities, each annotated with ground-truth boxes, and evaluate it with four metrics. Temporal match measures whether each entity appears and disappears on time; position match measures whether it stays at the right place; unrendered rate measures how often crude input blocks are left unrendered; and hallucination rate measures how often the output contains entities that do not exist in the input. Compared with the zero-shot base, AnyGameRenderer raises temporal match from 50.9% to 62.9% and position match from 57.1% to 61.9%, and lowers the unrendered rate from 4.1% to 2.9% and the hallucination rate from 52.1% to 46.0%.

References (36)