HLSL2GLSL
{{Infobox software
| name =
| logo =
| logo alt =
| screenshot =
| caption =
| screenshot alt =
| collapsible =
| author =
| developer = various{{cite web |url=https://github.com/aras-p/hlsl2glslfork/blob/master/LICENSE.txt |title=license|website=GitHub}}
| released =
| discontinued =
| latest release version =
| latest release date =
| latest preview version =
| latest preview date =
| status =
| programming language =
| operating system =
| platform =
| size =
| genre = 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).{{cite web|url=http://www.opengl.org/news/permalink/hlsl2glsl_v09_hlsl_to_opengl_shading_language_translator/|title=HLSL2GLSL v0.9 DirectX 9 HLSL to OpenGL Shading Language translator|publisher=OpenGL.org|access-date=2006-11-29|archive-date=2018-12-16|archive-url=https://web.archive.org/web/20181216074244/https://www.opengl.org/news/permalink/hlsl2glsl_v09_hlsl_to_opengl_shading_language_translator/|url-status=dead}}
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.{{cite web|author=Unity|url=https://github.com/aras-p/hlsl2glslfork/|title=hlsl2glslfork|website=GitHub|access-date=2011-05-18}} It is now used by Unity{{cite web|url=http://aras-p.info/blog/2010/05/21/compiling-hlsl-into-glsl-in-2010/|title=Compiling HLSL into GLSL in Unity 3|date=21 May 2010 |access-date=2011-01-05}} and OGRE to translate Cg/HLSL shaders into GLSL for mobile platforms.{{cite web|url=http://www.ogre3d.org/forums/viewtopic.php?f=21&t=62256|title=Ogre forums: Added Cg support to the ES 2.x render system|access-date=2011-01-05}}
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.{{YouTube|3C96NJeYAy4}}.
{{Portal|Free and open-source software}}
References
{{Reflist}}
External links
- [http://sourceforge.net/projects/hlsl2glsl HLSL2GLSL Project Page]
- [https://github.com/aras-p/hlsl2glslfork HLSL2GLSL Fork Project Page]
{{AMD graphics}}
Category:Software using the BSD license
{{Soft-eng-stub}}