ValveSoftware/ToGL
Direct3D to OpenGL abstraction layer observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4559
- days_rel: n/a
- days_push: 4019
- n_releases_24m: 0
Adoption not part of the score
2082 stars · 191 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ToGL is Valve's Direct3D 9 to OpenGL translation layer, extracted from the DOTA2/Source Engine codebase. It includes a bytecode-level HLSL-to-GLSL translator and supports a limited subset of Direct3D 9.0c with some SM3 features.
Use cases
- port a Direct3D 9 game to OpenGL platforms
- translate HLSL shaders to GLSL
- study how Valve ported Source Engine to Mac/Linux
- reference implementation of a D3D-to-OpenGL abstraction layer
When to choose
- you need a reference for D3D9-to-OpenGL translation or HLSL-to-GLSL shader conversion
- you are researching Source Engine's cross-platform rendering approach
When to avoid
- you need a maintained, supported translation layer (project is unsupported and last released in 2015)
- you need full Direct3D 9+ feature coverage or modern APIs like Vulkan
- you expect it to build out of the box
Facets
library · maturity abandoned
graphics compiler graphics cross-platform cpp windows direct3d opengl hlsl glsl translation-layer source-engine game-development linux macos
1 source
- readme: https://github.com/ValveSoftware/ToGL · fetched 2026-08-28 · 1cfeda1b75ad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ValveSoftware/ToGL | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ValveSoftware/ToGL")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem