Bring over my bag of shit shaders and use one as a placeholder for the build status indicator.

This commit is contained in:
Zed A. Shaw 2025-04-23 00:20:08 -04:00
parent 8f3a3c10c2
commit d4d8c780a4
20 changed files with 708 additions and 9 deletions

View file

@ -0,0 +1,12 @@
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_duration;
uniform float u_time;
uniform float u_time_end;
void main() {
float tick = (u_time_end - u_time) / u_duration;
float blink = smoothstep(1.0, 0.5, tick);
vec4 color = vec4(blink, blink, blink, 1.0);
gl_FragColor = gl_Color * color;
}