HOME

TheInfoList



OR:

HLSL2GLSL is a
command line A command-line interface (CLI) is a means of interacting with software via command (computing), commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user ...
tool and a library that translates
shader In computer graphics, a shader is a computer program that calculates the appropriate levels of light, darkness, and color during the rendering of a 3D scene—a process known as '' shading''. Shaders have evolved to perform a variety of s ...
s written in High Level Shader Language (HLSL) for Direct3D 9 into the OpenGL Shading Language (GLSL). HLSL2GLSL was originally released by
ATI Technologies ATI Technologies Inc. was a Canadian semiconductor industry, semiconductor technology corporation based in Markham, Ontario, that specialized in the development of graphics processing units and chipsets. Founded in 1985, the company listed pub ...
under a
BSD License BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD lic ...
. 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 An ogre (feminine: ogress) is a legendary monster depicted as a large, hideous, man-like being that eats ordinary human beings, especially infants and children. Ogres frequently feature in mythology, folklore, and fiction throughout the world ...
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


External links


HLSL2GLSL Project Page

HLSL2GLSL Fork Project Page
AMD software ATI Technologies Shading Software using the BSD license {{Soft-eng-stub