Valve does Direct3D to OpenGL translation layer

Discovered in DOTA 2

While digging through the source code of the DOTA 2, developers have discovered that Valve is using ToGL, a Direct3D to OpenGL translation layer which simply reduces duplication development for various platforms.

The ToGL, as it is currently called, is simply a translation layer which helps developers to develop games for multiple platforms like Windows, Linux and OS X by allowing Direct3D to be called by similar OpenGL instructions.

Although it is currently only allowing Direct3D 9.0c API to be translated to OpenGL, this translation layer currently features HLSL to GLSL shader language translator and limited shader model 3.0 support, it is available at GitHub so if more developers decide to use it we are quite sure we will see more of the ToGL.



Source: GitHub.com, via Techpowerup.com.


News by Luca Rocchi and Marc Büchel - German Translation by Paul Görnhardt - Italian Translation by Francesco Daghini


Previous article - Next article
comments powered by Disqus
Valve does Direct3D to OpenGL translation layer - Valve - News - ocaholic