Software:HLSL2GLSL
From HandWiki
Developer(s) | various[1] |
---|---|
Type | CGI tool |
License | BSD 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 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.[3] It is now used by Unity[4] and OGRE to translate Cg/HLSL shaders into GLSL for mobile platforms.[5]
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.[6]
References
- ↑ 1.0 1.1 "license". https://github.com/aras-p/hlsl2glslfork/blob/master/LICENSE.txt.
- ↑ "HLSL2GLSL v0.9 DirectX 9 HLSL to OpenGL Shading Language translator". OpenGL.org. http://www.opengl.org/news/permalink/hlsl2glsl_v09_hlsl_to_opengl_shading_language_translator/.
- ↑ Unity. "hlsl2glslfork". https://github.com/aras-p/hlsl2glslfork/.
- ↑ "Compiling HLSL into GLSL in Unity 3". http://aras-p.info/blog/2010/05/21/compiling-hlsl-into-glsl-in-2010/.
- ↑ "Ogre forums: Added Cg support to the ES 2.x render system". http://www.ogre3d.org/forums/viewtopic.php?f=21&t=62256.
- ↑ Video on YouTube.
External links
Original source: https://en.wikipedia.org/wiki/HLSL2GLSL.
Read more |