Jump to content

HLSL2GLSL

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by ScotXW (talk | contribs) at 20:13, 5 February 2016 (At the XDC2014 Matt Turner pointed out that due to translations from HLSL to GLSL bloated shaders have become wide spread.{{YouTube|3C96NJeYAy4}}shader-db.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Developer(s)various[1]
Repository
TypeCGI tool
LicenseBSD License[1]

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).[2]

HLSL2GLSL was released by ATI Technologies under a BSD License.

Last version (v0.9) from ATI was released in 2006, but the project was forked in 2010 [3] to fix issues and add features like OpenGL ES support. It is now used by Unity [4] and OGRE [5] to translate Cg/HLSL shaders into GLSL for mobile platforms.

HLSL2GLSL is not part of GPUOpen.

At the XDC2014 Matt Turner pointed out that due to translations from HLSL to GLSL bloated shaders have become wide spread.Video on YouTubeshader-db.

References

  1. ^ a b "license".
  2. ^ "HLSL2GLSL v0.9 DirectX 9 HLSL to OpenGL Shading Language translator". OpenGL.org. Retrieved 2006-11-29.
  3. ^ "HLSL2GLSL Fork". 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.