blob: 50db0785473ffa4c556b99f90fa4f12d49490f2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
uniform sampler2D u_DiffuseMap;
varying vec2 var_DiffuseTex;
varying vec4 var_Color;
void main()
{
vec4 color = texture2D(u_DiffuseMap, var_DiffuseTex);
gl_FragColor = color * var_Color;
}
|