OpenGL-based rendering engine for Source 2 game assets. Supports models, maps, materials, particles, and animations with PBR lighting.
$ dotnet add package ValveResourceFormat.RendererOpenGL-based rendering engine for Source 2 game assets. Powers the Source 2 Viewer.
The primary user of this library is the Source 2 Viewer. As such, updates may contain breaking changes and backwards incompatible API changes, as the viewer does not require backwards compatibility with older library versions. Additionally, Source 2 games themselves may update and change file formats at any time, which may necessitate breaking changes in this library. If you need to support newer file formats, you will need to update the library. That said, we do aim to support older file formats going back to the very first Source 2 project.
.vmdl_c), maps (.vwrld_c, .vmap_c)