blob: 35b1f8902dc06aa173e5df1dd129098f63fb6f5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
uniform sampler2D baseTexture;
varying lowp vec4 varColor;
varying mediump vec2 varTexCoord;
void main(void)
{
vec2 uv = varTexCoord.st;
vec4 color = texture2D(baseTexture, uv);
color.rgb *= varColor.rgb;
gl_FragColor = color;
}
|