bgfx/3rdparty/glsl-optimizer/tests/fragment/unity-Reflective_Specular1-out.txt

10 lines
167 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
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;
}