The Fabric of Realism: Deep Dive into Kingdom Come: Deliverance’s Revolutionary Adaptive Clothing System
In the landscape of modern role-playing games (RPGs), the quest for immersion often hits a digital wall: the limitation of character customization versus visual fidelity. For decades, developers have struggled with the "clipping" phenomenon—where one layer of digital clothing awkwardly pokes through another. While most studios bypass this by offering "full-set" armors that replace the entire character model, Warhorse Studios took a diametrically opposed path for their historical epic, Kingdom Come: Deliverance (KCD).
At a seminal Game Developers Conference (GDC) session, Tomas Pluhař, a lead technical mind at Warhorse, unveiled the inner workings of their "Adaptive Clothing System." This technology represents more than just a visual polish; it is a fundamental shift in how procedural generation can be used to mimic the complex, multi-layered reality of 15th-century European attire.
Main Facts: The Architecture of Medieval Fashion
The core of the Adaptive Clothing System is a procedural engine designed to allow up to 16 individual slots of clothing and armor to coexist on a single character model without visual interference. Unlike traditional systems where a "breastplate" might simply hide the "shirt" underneath to prevent clipping, Warhorse’s system keeps the underlying layers physically and mathematically present, adjusting the outer layers to fit over them dynamically.
Key Features of the System:
- Procedural Morphing: Outer layers of clothing automatically expand or contract based on the volume of the layers beneath them.
- 16-Slot Customization: Characters feature slots for everything from coifs and padded caps to gambesons, hauberks, and surcoats.
- Visual Fidelity: The system ensures that procedural adjustments maintain the high-quality look of handmade assets, avoiding the "stretched" look common in early procedural attempts.
- Engine Integration: Developed on a heavily modified version of CryEngine, the system allows for real-time changes in a massive open-world environment without crippling the CPU.
Chronology: From Kickstarter Vision to Technical Reality
The journey of the Adaptive Clothing System began long before the GDC stage. Its evolution is a testament to the "realism-first" philosophy of Warhorse Studios.
2014: The Kickstarter Foundation
When Daniel Vávra and his team launched the Kickstarter for Kingdom Come: Deliverance, they promised a level of historical accuracy never before seen. This included a promise that armor would function as it did in the 1400s—as a layered defensive system. Early prototypes showed the difficulty of this: a character wearing a linen shirt, a leather jack, and a steel breastplate resulted in a "jumbled mess" of textures bleeding into one another.
2015–2016: The "Shrink-Wrap" Breakthrough
During mid-development, the technical team realized that manual adjustment for every possible combination of the game’s thousands of clothing items was impossible. They began developing a "layer-aware" algorithm. This phase involved defining "collision volumes" for every clothing asset. If Layer A (a gambeson) was thicker than Layer B (a tunic), the system would calculate the displacement required for Layer C (plate armor) to sit flush atop both.
2018: Launch and Refinement
Upon the game’s release, the clothing system was lauded as one of its most innovative features. Players could mix and match rags with finery, and the engine handled the transition seamlessly. However, the system required constant optimization to ensure that NPCs in crowded towns didn’t cause frame-rate drops due to the sheer number of procedural calculations happening simultaneously.
The GDC Session: Sharing the Knowledge
The presentation by Tomas Pluhař served as the final chapter in this development cycle. By sharing these findings with the broader industry, Warhorse moved from being an ambitious indie studio to a technical trendsetter, proving that "impossible" levels of layering could be achieved through smart procedural logic rather than brute-force art assets.
Supporting Data: The Mechanics of the 16-Slot System
To understand the scale of this achievement, one must look at the data governing the character models. In most RPGs (such as The Elder Scrolls or The Witcher), a character typically has 4 to 6 equipment slots (Head, Chest, Legs, Hands, Feet). Kingdom Come: Deliverance nearly triples this.
The Layer Hierarchy
The system operates on a strict hierarchy. Each slot is assigned a "priority level" from 0 (skin) to 15 (outermost garments like capes or tabards).
- Base Layers: Undergarments and hose.
- Padding: Gambesons and arming doubles.
- Chainmail: Hauberks and chausses.
- Plate/Hard Armor: Cuirasses, pauldrons, and greaves.
- External Apparel: Surcoats, tabards, and hoods.
Technical Hurdles: The Clipping Calculation
The "Adaptive" part of the system uses a technique similar to "Vertex Displacement." When a player equips a heavy brigandine over a thick wool shirt, the engine checks the "thickness" value of the shirt. It then pushes the vertices of the brigandine outward along their normals.

According to technical briefs, the system also uses "Alpha Masking" as a secondary fail-safe. If a part of an inner layer is completely covered by an outer layer, the engine stops rendering the inner layer’s polygons to save on GPU resources. However, the physics and volume of that inner layer remain, ensuring the outer layer still "bulges" realistically.
Official Responses: The Philosophy of "Hardcore" Realism
Warhorse Studios has been vocal about why they chose this difficult path. In various interviews and during the GDC session, the studio emphasized that clothing in the Middle Ages was a status symbol and a survival tool.
"You can’t just put a piece of steel on a naked body," Tomas Pluhař noted during his technical deep dive. "In the 15th century, armor was a system. If we wanted the player to feel the weight of history, we had to make the clothes behave like history."
Creative Director Daniel Vávra has also commented on the system’s impact on gameplay. "Our clothing system isn’t just for show. It affects how people perceive you in the world. If you are covered in blood or wearing dirty rags, the NPCs treat you differently. The layered system allows us to track ‘dirt’ and ‘damage’ on individual layers. You might have a clean surcoat, but if the gambeson underneath is rotting, the system knows."
This official stance highlights a move away from "cosmetic" gear toward "functional" gear, where the physical presence of every layer contributes to the character’s statistics, such as charisma, visibility, and noise.
Implications: A New Standard for Digital Fashion
The implications of the Adaptive Clothing System extend far beyond the muddy fields of Bohemia. It has set a new benchmark for the "Digital Fashion" industry and the future of RPG development.
Impact on RPG Development
Following the success of KCD, other studios have begun exploring more robust layering systems. The "all-in-one" armor set is increasingly seen as a relic of the past. Developers are realizing that players value the "Lego-like" ability to build an outfit piece by piece. The technology developed by Warhorse provides a roadmap for how to achieve this without the immersion-breaking sight of a sword scabbard clipping through a cape.
The Path to Kingdom Come: Deliverance II
As Warhorse Studios moves toward the release of the highly anticipated sequel, the Adaptive Clothing System is expected to evolve further. Reports suggest that the new iteration will include even more complex fabric physics, allowing for different types of cloth (silk vs. heavy wool) to react differently when layered. This "Material-Aware" layering will likely be the next frontier in character rendering.
Broadening the Scope: Beyond Gaming
Outside of gaming, this procedural layering technology has potential applications in virtual reality (VR) and digital tailoring. As we move toward a "Metaverse" or highly detailed digital avatars, the ability for digital clothes to "fit" a variety of body types—much like they fit the varied NPCs in KCD—is essential. Warhorse’s work proves that you can automate the "tailoring" process in a way that looks handmade.
Conclusion
The Adaptive Clothing System in Kingdom Come: Deliverance is a masterclass in solving a creative problem with technical ingenuity. By refusing to accept the limitations of off-the-shelf game engines, Warhorse Studios created a system that honors the complexity of history while pushing the boundaries of what is possible in real-time rendering.
As Tomas Pluhař concluded in his GDC session, buying an engine license is only the beginning. For those aiming for true realism, the real work lies in the layers—both the layers of the code and the layers of the linen, mail, and steel that define the world of Henry of Skalitz. The legacy of this system remains a vital touchstone for any developer seeking to bridge the gap between procedural automation and artisanal quality.
