Throughout history, HLSL2GLSL has been a topic of great interest to humanity. From ancient times to the present, HLSL2GLSL has sparked curiosity, debate and reflection in society. Numerous books have been written, films made, research conducted and lectures given on HLSL2GLSL, demonstrating the importance and relevance it has in people's lives. HLSL2GLSL can address various aspects, from the scientific and technological to the cultural and philosophical, making it a multidisciplinary and wide-ranging topic. In this article, we will explore different perspectives and approaches to HLSL2GLSL, with the aim of expanding our knowledge and understanding of this fascinating topic.
Developer(s) | various |
---|---|
Repository | |
Type | CGI tool |
License | BSD License |
HLSL2GLSL is a command line tool and a library that translates shaders written in High Level Shader Language (HLSL) for Direct3D 9 into the OpenGL Shading Language (GLSL).
HLSL2GLSL was originally released by ATI Technologies under a BSD License. The last release was v0.9 from 2006. HLSL2GLSL is not part of GPUOpen.
The project was forked in 2010 to fix issues and add features like OpenGL ES support. It is now used by Unity and OGRE to translate Cg/HLSL shaders into GLSL for mobile platforms.
The project has been criticized for generating low-quality, bloated code. At the XDC2014, Matt Turner pointed out that many benchmark examples in Mesa's shader-db are generated by conversion and of poor quality.