12 lines
171 B
GLSL
12 lines
171 B
GLSL
|
|
||
|
uniform sampler2D texture;
|
||
|
|
||
|
varying vec2 v_texCoord;
|
||
|
varying vec4 v_color;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_FragColor = texture2D(texture, v_texCoord);
|
||
|
gl_FragColor.a *= v_color.a;
|
||
|
}
|