How a Fully AI-Generated 1.6 MB FPS Achieves AAA-Style Visuals
A tiny FPS can look remarkably polished when its “assets” are generated at runtime instead of stored as conventional files. This article explains how procedural generation, mature WebGL rendering pipelines, and long-context AI workflows reduce file size without necessarily sacrificing visual quality—and why engineering judgment remains the most important factor.
The Short Answer
“Small” and “high quality” are not contradictory because these projects do not eliminate quality—they eliminate the need to store large asset files.
Three pillars make this possible:
- Procedural generation replaces traditional assets
- A mature WebGL rendering pipeline replaces much of the required art infrastructure
- Long-context generation and hours of unattended iteration replace much of the traditional manual feedback cycle
What these three pillars cannot replace—and what viewers often overlook—is the creator’s technical judgment. The fact that other people cannot reproduce the same result with the same prompt is evidence of this limitation.
The following sections examine why the game can be so small, why it looks like an AAA production, what AI actually contributes, and where the approach still falls short.
Why the Game Can Be So Small: Three Substitutions
1. The Asset Format Has Changed
The only way to achieve an order-of-magnitude reduction in size is to change the form of the assets themselves.
In a conventional game, most of the file size comes from textures, meshes, audio, and animations. In an AI-generated project of this kind, those assets are transformed into runtime functions. Textures and models are effectively represented as code rather than image files, 3D model files, or recorded audio files.
Consider the difference in scale:
- A single 4K texture often takes several megabytes, while a shader consisting of a few dozen lines may occupy only a few hundred bytes. A metal material, for example, can use cosine functions to generate ridged patterns, then combine noise at different frequencies to simulate rust and dirt. The visual result can approach that of a scanned asset while reducing storage requirements by several orders of magnitude.
- A skeletal animated mesh can easily occupy hundreds of kilobytes, while a character-construction function may require only a few kilobytes. A quadrupedal robot dog can be built from a hierarchy in which the root bone supports the body and neck, another branch supports the turret and weapon, and four legs are generated in loops from three segments—hip, thigh, and lower leg. The knee angles are calculated in real time for each frame, so the animation is expressed as mathematics rather than stored as baked data.
- A recorded environmental sound can require hundreds of kilobytes or several megabytes, while rain, wind, and mechanical sounds synthesized at runtime through Web Audio require almost no additional file storage.
The key idea is that the denominator is the length of the description, not the amount of data produced by that description.
The browser loads a recipe, and the GPU expands that recipe into pixels at runtime. A few thousand lines of code do not mean that the project contains only a few thousand lines of equivalent content. They mean that the rules for generating the virtual world have been described in a few thousand lines.
This is a practical application of the idea behind Kolmogorov complexity: a world with strong regularities requires far fewer bits to describe than one whose individual frames and assets must be stored separately.
2. A Single Environment Means a Single Asset Domain
The entire level uses one visual theme: a rainy night, a shipping port, containers, gantry cranes, and a cargo ship. It does not need snow, human faces, indoor environments, or a second climate zone.
Scope is part of the file-size equation. That scope is constrained at the prompt stage by explicitly asking for a small environment—something closer to a miniature level—while still demanding impressive, realistic visuals.
The level can be completed in roughly five minutes, but every object that enters the player’s view still receives complete material, lighting, and reflection treatment.
The broader lesson is that small size and high quality require strict scope control. The more unified the theme, the lower the marginal cost of procedural generation, and the more expressive power the code can devote to the limited asset domain.
3. Dependencies Are Paid for Once and Reused Globally
Physically based rendering (PBR), exponential fog, prefiltered environment reflections, real-time shadows, post-processing, and spatial audio are already available through modern browser rendering systems or mature open-source libraries.
They are introduced once and reused across the entire project. The game’s few thousand lines of code do not invent new rendering technology. They simply combine techniques that the industry has refined over the past decade.
This also explains a common misunderstanding: AI is not generating a new rendering engine. It is generating the content layer that uses an existing engine.
The engine distributes the cost, while the content has a much smaller marginal cost. As a result, the final package can be extremely small.
Where the Visual Quality Comes From: Lighting and Atmosphere, Not Resolution
Much of what viewers perceive as “AAA quality” does not come from polygon counts or texture resolution. It comes primarily from three elements:
- Lighting and reflections: Puddles reflect the sky, metal surfaces mirror their surroundings, and highlights fade along the edges of shipping containers. These effects are direct results of physically based materials and precomputed environmental reflections.
- Atmosphere: Exponential fog causes distant objects to fade into gray-blue tones, creating natural depth and a sense of distance while concealing a lack of detail in faraway models. Fog is both an atmospheric tool and a practical way to hide limitations in performance and asset detail.
- Consistency: All materials use the same lighting model, tone mapping, and post-processing pipeline. This gives the scene a unified cinematic appearance. A collection of disconnected assets would be more likely to break that visual consistency.
The subject matter also falls within a sweet spot for procedural generation.
Hard-surface objects are especially suitable for procedural methods. A shipping container is a rectangular box with ridges, a gantry crane is a truss structure, and drones or quadrupedal robot dogs can be assembled from combinations of geometric primitives.
Organic forms are much more difficult. Human faces, fingers, real animal fur, and skin are difficult to reproduce convincingly with noise functions alone.
Choosing the right subject can therefore increase the success rate of procedural generation dramatically.
What AI Actually Contributes: Long Context and Unattended Iteration
In this example, AI plays three distinct roles:
- A single large context: The game logic, material system, and entity generation are created within the same context. This helps maintain consistency across modules, including shared noise parameters and a unified color and lighting style.
- Hours of unattended work: AI is no longer used only as a question-and-answer assistant. It becomes part of a workflow that continuously iterates, validates its output, and fixes errors with limited human intervention. Many rounds of manual feedback are compressed into a small number of critical review points.
- Human judgment as the final loop: Decisions about the subject, the scope, the structure of the prompts, and the direction of revisions cannot be replaced by the prompt itself. If different people run the same prompt and obtain significantly different results, the real barrier is not the prompt. It is engineering judgment about rendering pipelines, asset architecture, and the practical limits of procedural generation.
Limitations and Reusable Engineering Principles
This approach still has clear boundaries:
- Organic forms remain a major weakness: Games centered on character performance, animal interaction, or other organic subjects are difficult to bring to an acceptable quality level with procedural generation and AI alone.
- Gameplay depth is constrained by code length: Complex AI behavior and branching level logic can quickly expand the codebase. The number of game systems must therefore be controlled during the design phase.
- The methodology is reusable:
- Treat description length as the primary size budget.
- Use shaders instead of texture files and mathematical functions instead of baked animation data.
- Lock down the environmental scope at the prompt stage.
- Treat lighting and atmosphere—not model complexity—as the first lever for creating a premium visual impression.
- Use AI as an unattended builder of the content layer, while humans remain responsible for architecture and acceptance testing.
Conclusion
The coexistence of small file size and high visual quality comes from restructuring the game from a collection of stored world data into a set of rules that generate the world at runtime.
AI then uses long-context generation and autonomous iteration to write that “recipe.”
Under the right subject and engineering constraints, three major components of content production—assets, art direction, and feedback cycles—can all be revalued. The result is not a new rendering engine, but a compact description of a carefully constrained world built on top of mature rendering technology.
