This repository has been archived on 2022-12-14. You can view files and clone it, but cannot push or open issues or pull requests.
WaveGGJ17/Resources/shaderHalo.frag
2017-01-21 18:35:16 +01:00

9 lines
No EOL
210 B
GLSL

uniform float time;
uniform bool blue;
void main(void) {
float transpa = sin(time)*255.;
vec4 color = (246,111,231, (transpa));
if (blue) color = (0,153,253, (transpa));
gl_FragColor = color;
}