Microsoft Edge WebGL GLSL Transpiler Is Open Source Now

Microsoft Edge WebGL GLSL Transpiler is now open source.
The company states,
“Today we’re excited to announce that we’re open-sourcing part of the Microsoft Edge WebGL renderer – specifically, the GLSL to HLSL transpiler. We hope that the source code is useful for everybody working on similar WebGL projects, and that this will help performance, correctness and interoperability of WebGL.”
WebGL web pages run ‘program’ on your GPU in order to render 3D content. Microsoft Edge uses the DirectX subsystem in Windows in order to render content.
Microsoft Edge converts WebGL content to DirectX equivalents to display it; the WebGL renderer converts WebGL calls into DirectX equivalents, and the transpiler converts GLSL shaders to HLSL shaders.
Microsoft states,
“We do plan to publish additional scripts and documentation over time. By making a first drop of the source available right away, we are immediately enabling engineers working on other WebGL / OpenGL / 3D implementations to inspect the code and improve interoperability across browsers.”
The HLSL to GLSL transpiler is one of the most critical components of the WebGL stack from an interoperability perspective. The company expects it to be most interesting for specialized audience of engineers who uphold WebGL implementations on different platforms.
Microsoft states,
“One natural question following this announcement is whether this signals a move to open-source Microsoft Edge. At this time we have no plans to open source Microsoft Edge or EdgeHTML, but we understand and value the importance of being more open with our roadmap and our core technologies.”

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now