Home / Software & Gaming / Valve releases open-source Direct3D to OpenGL translation layer

Valve releases open-source Direct3D to OpenGL translation layer

Valve Software this week published its open-source Direct3D to OpenGL translation layer called ToGL. The product should help developers without a lot of resources to migrate their DirectX game engines (or games) to OpenGL in order to run them under Apple Mac OS X, Linux or Valve Steam OS operating system. Unfortunately, the translator will hardly be a breakthrough.

In addition to translating the function calls from Direct3D to OpenGL, ToGL can also support shader programs from Direct3D's HLSL bytecode to OpenGL's GLSL. Valve ToGL does not support the full Direct3D 9c (feature level 9_3) application programming interface, but only an unidentified “limited subset” of the API. Therefore, it will be impossible to port even relatively old games to OpenGL since virtually all modern titles rely on Direct3D feature level 9_3, just as previous-generation video game consoles (Microsoft Xbox 360 and Sony PlayStation 3). ArsTechnica web-site assumes that the ToGL in its current form supports specific needs Valve’s own Source engine has.

valve_art

The reason why Valve decided to design its own Direct3D => OpenGL layer is unknown. The Winw project, which is developed to enable programs originally written for Windows to run on Linux, includes a Direct3D-to-OpenGL translator that handles some proportion of Direct3D 8, 9, and 10.

KitGuru Says: It looks like ToGL in its current form is a declaration of intention rather than something real. The bigger question why Valve does post something that is not ready? Perhaps, the company wants some input from the community, or just needs to help certain developers who do not need functionality like vertex texture fetch and who still has not started to use DirectX 10 and DirectX 11 APIs…

Become a Patron!

Check Also

Cyberpunk 2077 PC

Almost 2/3rds of all Cyberpunk 2077 players are on PC

Despite its ubiquity across multiple gaming platforms nowadays, CD Projekt Red has always been a PC-centric studio, with the original The Witcher being a PC exclusive and its sequel coming only to Xbox on the console side. Despite selling millions upon millions of copies of both The Witcher 3 and Cyberpunk 2077 across PlayStation/Xbox since, new data has revealed just how much of the audience still hail from CDPR's home platform.

We've noticed that you are using an ad blocker.

Thank you for visiting KitGuru. Our news and reviews teams work hard to bring you the latest stories and finest, in-depth analysis.

We want to be as informative as possible – and to help our readers make the best buying decisions. The mechanism we use to run our business and pay some of the best journalists in the world, is advertising.

If you want to support KitGuru, then please add www.kitguru.net to your ad blocking whitelist or disable your adblocking software. It really makes a difference and allows us to continue creating the kind of content you really want to read.

It is important you know that we don’t run pop ups, pop unders, audio ads, code tracking ads or anything else that would interfere with the KitGuru experience. Adblockers can actually block some of our free content, such as galleries!