Technology and gaming content trusted in North America and globally since 1999
8,620 Reviews & Articles | 61,107 News Posts

Valve releases open source to ToGL, a Direct3D to OpenGL translator

Valve gives developers the keys to its Direct3D to OpenGL translator, ToGL

Anthony Garreffa | Mar 12, 2014 at 2:33 am CDT (0 mins, 47 secs time to read)

Valve has just released the source to ToGL, which is its translation layer to support a subset of the Direct3D 9 API on OpenGL systems. ToGL works with Valve's own Source engine, so this could be an interesting thing going into 2014.

Valve releases open source to ToGL, a Direct3D to OpenGL translator | TweakTown.com

ToGL doesn't support the full Direct3D 9c API, but instead an undefined "limited subset" that is focused on specific requirements of Source. ToGL can also support shader programs from Direct3D's HLSL bytecode to OpenGL's GLSL. As it stands, Valve's ToGL isn't useful to most, with its reference files not included in the package.

What ToGL will be useful for, is when developers want to migrate Direct3D engines to run on the open-source OpenGL API. This could be interesting as we move into the year, with SteamOS being based on Linux, so an open-source API like OpenGL and a translator could shift quite a few games under Direct3D over to OpenGL.

Last updated: Apr 7, 2020 at 11:43 am CDT

NEWS SOURCE:arstechnica.com
Anthony Garreffa

ABOUT THE AUTHOR - Anthony Garreffa

Anthony is a long time PC enthusiast with a passion of hate for games built around consoles. FPS gaming since the pre-Quake days, where you were insulted if you used a mouse to aim, he has been addicted to gaming and hardware ever since. Working in IT retail for 10 years gave him great experience with custom-built PCs. His addiction to GPU tech is unwavering.

Related Tags