bgfx/3rdparty/glsl-optimizer/tests/fragment/unity-Specular1-out.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

9 lines
167 B
Text

uniform float _Shininess;
void main ()
{
vec4 res;
res.xyz = ((gl_TexCoord[0].xyz * vec3(0.5, 0.5, -0.5)) + 0.5);
res.w = _Shininess;
gl_FragData[0] = res;
}