HLSL2GLSL

In today's world, HLSL2GLSL is a topic that has gained great relevance and has become a matter of interest to both experts and the general public. Since its emergence, HLSL2GLSL has sparked constant debate, generating conflicting opinions and triggering a series of investigations and analyzes in various fields. This article aims to thoroughly address this topic and analyze its importance, impact and relevance in today's society. Along these lines, different perspectives and arguments related to HLSL2GLSL will be explored, in order to provide a broad and enriching vision of this issue that is so relevant today.

Developer(s)various
Repository
TypeCGI tool
LicenseBSD 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.

References

  1. ^ a b "license". GitHub.
  2. ^ "HLSL2GLSL v0.9 DirectX 9 HLSL to OpenGL Shading Language translator". OpenGL.org. Retrieved 2006-11-29.
  3. ^ Unity. "hlsl2glslfork". GitHub. Retrieved 2011-05-18.
  4. ^ "Compiling HLSL into GLSL in Unity 3". Retrieved 2011-01-05.
  5. ^ "Ogre forums: Added Cg support to the ES 2.x render system". Retrieved 2011-01-05.
  6. ^ Video on YouTube.

External links