Source 2 is the proprietary game engine developed by Valve, the successor to the original Source engine and the technology behind Dota 2, Half-Life: Alyx, Counter-Strike 2 and Deadlock. Among game engines in gaming, it stands out as an in-house engine built for Valve’s own titles rather than a product sold to the wider industry, which shapes how it evolves and who can use it.
Valve announced Source 2 in 2015, the same year Dota 2 moved onto it in the update known as Reborn. Its design priorities are modern rendering APIs, fast iteration through a compiled asset pipeline, a rebuilt Hammer level editor and deep integration with Steam services such as the Workshop and Steam Audio.
How the Source 2 architecture is organized
Source 2 is organized as a set of modular subsystems around a shared resource system, so rendering, physics, audio, animation and user interface can be updated independently. Each Valve title ships its own game-specific code layer on top of this core, which is why Counter-Strike 2 and Dota 2 feel very different while sharing tools and file formats.
The resource compiler is central to the workflow. Artists author source files such as models, textures and materials, and the engine compiles them into runtime-optimized resources with a _c suffix, for example .vmdl_c for models and .vmat_c for materials. Compiled resources are packed into VPK archives, a container format inherited from the original Source engine.
The table below summarizes the main subsystems and what each one contributes to a shipped game.
| Subsystem | Role | Notable detail |
|---|---|---|
| Renderer | Draws scenes with modern graphics APIs | Vulkan and DirectX 11 back ends |
| Rubikon physics | Rigid bodies, collisions, constraints | Valve’s in-house physics engine |
| Animgraph | Blends and layers character animation | Node-based animation logic |
| Panorama UI | Menus and in-game interface | Layout and styling similar to web markup |
| Steam Audio | Spatial and physically based sound | Occlusion and reflection modeling |
| VScript | Gameplay scripting layer | Lua in Dota 2 and Half-Life: Alyx |
Rendering and the Hammer level editor
The Source 2 renderer uses a physically based shading model with support for Vulkan and DirectX 11, and Valve titles have also shipped on macOS and Linux through translation layers and native back ends. The rendering pipeline is tuned for high and stable frame rates rather than maximum visual density, a choice that suits competitive shooters and virtual reality.
Half-Life: Alyx demonstrated that tuning in virtual reality, where frame drops cause discomfort. The engine uses careful level-of-detail management, baked lighting where possible and dynamic resolution techniques to hold the 90 Hz or higher refresh targets that headsets require.
The rebuilt Hammer editor is the most visible change for creators. Original Source maps were built from BSP brushes, convex solids that the compiler cut into a binary space partitioning tree. Source 2 Hammer instead uses polygon mesh editing, so designers can extrude, bevel and cut geometry directly, much like a lightweight modeling program inside the level editor.
The following comparison shows how the main workflow elements changed between the two engine generations.
| Aspect | Original Source | Source 2 |
|---|---|---|
| Level geometry | Convex BSP brushes | Editable polygon meshes |
| Map compile time | Often long full compiles | Faster incremental builds |
| Physics | Licensed Havok middleware | In-house Rubikon |
| Graphics API | Mainly DirectX 9 | Vulkan and DirectX 11 |
| User interface | VGUI and Scaleform | Panorama |
| Asset handling | Separate compile tools | Unified resource compiler |
Games and projects built on Source 2
Source 2 powers a small number of high-profile titles, almost all developed or published by Valve. Each one exercised a different part of the engine, which makes the catalog a useful map of its capabilities.
| Title | Year on Source 2 | What it showcased |
|---|---|---|
| Dota 2 | 2015 | Panorama UI and Workshop custom games |
| Half-Life: Alyx | 2020 | Virtual reality physics and interaction |
| Counter-Strike 2 | 2023 | Sub-tick networking and dynamic smoke |
| Deadlock | Playtest phase | Hybrid hero shooter and lane design |
| s&box | In development | Third-party C# layer by Facepunch |
Counter-Strike 2 introduced a sub-tick system in which the server records the exact moment of player inputs between simulation ticks, instead of rounding every action to a fixed tick boundary. It also brought volumetric smoke that reacts to bullets and grenades, an example of tightly coupled rendering and gameplay simulation.
How Source 2 compares with commercial engines
Source 2 differs from Unreal Engine, Unity and Godot mainly in access and business model, not only in features. Commercial engines are designed to be licensed by thousands of studios, with public documentation, marketplaces and support plans, while Source 2 is primarily an internal production tool.
Valve has stated that Source 2 would be free for developers who ship on Steam, but in practice no general public license has been offered. Outside creators work with it mainly through Workshop Tools for specific games, such as Dota 2 custom games, Half-Life: Alyx levels and Counter-Strike 2 maps, or through the s&box project.
| Criterion | Source 2 | Unreal Engine | Unity |
|---|---|---|---|
| Availability | Mostly internal to Valve | Public download | Public download |
| Primary language | C++ with Lua scripting | C++ and Blueprint | C# |
| Documentation | Community wikis, limited | Extensive official docs | Extensive official docs |
| Asset marketplace | Steam Workshop per game | Fab marketplace | Asset Store |
| Typical users | Valve and modders | AAA and indie studios | Indie and mobile studios |
Compared with other in-house engines such as Frostbite, CryEngine or id Tech, Source 2 is unusual in how openly it supports user-generated content. Shipping editors to players has been a Valve tradition since the original Hammer, and it explains why community maps and modes remain a large part of its games.
Limitations and common misconceptions
The main limitation for outside developers is access rather than technology. Without a public license, studios cannot plan a commercial product on Source 2 the way they can on Unreal or Unity, and official documentation is sparse, so community wikis fill the gap.
- Not an Unreal competitor in the market: Source 2 competes on technology inside Valve titles, not on licensing revenue.
- Not a single fixed version: each game ships a branch of the engine with its own features, so a tool that works in Counter-Strike 2 may not exist in Dota 2.
- Not identical to Source 1 modding: old BSP maps and Source 1 models must be converted or rebuilt before they work.
- Workshop Tools are game-bound: content made for one title is generally not portable to another without rework.
Performance claims also need care. Source 2 is efficient for its target genres, but results depend heavily on content complexity, map optimization and driver quality, so a poorly built community map can still run badly.
In simple terms
Source 2 is the toolkit Valve uses to make its own games. It handles the graphics, the physics, the sound and the menus, so the game teams can focus on the game itself.
Think of it as a private workshop rather than a hardware store. Unreal and Unity sell their tools to anyone, while Valve mostly keeps Source 2 for itself. Players and modders can still use parts of it through free editors that come with games like Counter-Strike 2, which is how many community maps are made.
A practical example
A hobbyist level designer wants to build a competitive map for Counter-Strike 2. She installs the free Workshop Tools, opens Source 2 Hammer and blocks out three lanes with polygon mesh tools, adjusting wall heights and corners directly instead of rebuilding brushes.
After each change she runs a quick incremental compile and tests the map within a minute, checking sightlines and the time it takes to reach each bombsite. Once the layout feels balanced, she adds materials, baked lighting and props, then publishes the map to the Steam Workshop.
Within weeks, thousands of players subscribe and community servers add it to their rotation. The fast edit, compile and test loop let her refine the layout over dozens of iterations, which is the practical advantage Source 2 Hammer offers over the slower Source 1 workflow.