blob: 64bf5a4e84eab570e85384ce3a15f81676514951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
uniform sampler2D sampler2d;
varying float v_Dot;
varying vec2 v_texCoord;
void main()
{
vec4 color = texture2D(sampler2d,v_texCoord);
color += vec4(0.1,0.1,0.1,1);
gl_FragColor = vec4(color.xyz * v_Dot, color.a);
}
|