2013-03-22 11:48:57 +00:00
|
|
|
#version 140
|
|
|
|
|
|
|
|
uniform sampler2D sampler;
|
|
|
|
uniform float u_alphaProgress;
|
|
|
|
|
2015-12-01 08:20:07 +00:00
|
|
|
in vec2 texcoord0;
|
2013-03-22 11:48:57 +00:00
|
|
|
out vec4 fragColor;
|
|
|
|
|
|
|
|
void main() {
|
2015-12-01 08:20:07 +00:00
|
|
|
vec4 texel = texture(sampler, texcoord0, 1.75);
|
2013-03-22 11:48:57 +00:00
|
|
|
texel.a = u_alphaProgress;
|
|
|
|
|
|
|
|
fragColor = texel;
|
|
|
|
}
|