12 lines
230 B
GLSL
12 lines
230 B
GLSL
/* Texture coordinate: s, t */
|
|
varying vec2 texture_coord_v;
|
|
|
|
/* Texture unit */
|
|
uniform sampler2D texture;
|
|
uniform vec4 color;
|
|
|
|
void main(void)
|
|
{
|
|
gl_FragColor = vec4(1, 1, 1, texture2D(texture, texture_coord_v).a) * color;
|
|
}
|