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

7 lines
134 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
uniform sampler2D _MainTex;
void main ()
{
gl_FragData[0] = ((gl_Color * texture2D (_MainTex, gl_TexCoord[0].xy)) * gl_Color.w);
}