File: blink.frag

package info (click to toggle)
python-sfml 2.2~git20150611.196c88%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,020 kB
  • sloc: python: 1,125; cpp: 309; makefile: 124
file content (9 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
uniform sampler2D texture;
uniform float blink_alpha;

void main()
{
    vec4 pixel = gl_Color;
    pixel.a = blink_alpha;
	gl_FragColor = pixel;
}