mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
10 lines
148 B
GLSL
10 lines
148 B
GLSL
|
uniform sampler2D texture;
|
||
|
uniform float blink_alpha;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 pixel = gl_Color;
|
||
|
pixel.a = blink_alpha;
|
||
|
gl_FragColor = pixel;
|
||
|
}
|