bgfx/3rdparty/glsl-optimizer/tests/fragment/zun-Particles_Alpha_Blended_Premultiply-out.txt
2012-10-07 20:41:18 -07:00

6 lines
134 B
Text

uniform sampler2D _MainTex;
void main ()
{
gl_FragData[0] = ((gl_Color * texture2D (_MainTex, gl_TexCoord[0].xy)) * gl_Color.w);
}