14 lines
243 B
Plaintext
14 lines
243 B
Plaintext
|
precision lowp float;
|
||
|
uniform sampler2D Texture;
|
||
|
uniform float Transparency;
|
||
|
varying vec2 texCoord;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 color = texture2D(Texture, texCoord).rgba;
|
||
|
|
||
|
gl_FragColor = vec4(color.rgb, color.a * Transparency);
|
||
|
|
||
|
|
||
|
|
||
|
}
|