treppe-gl/shaders/pulse.glsl
April John 27a4e2e426 Add kik CRT terminal shader
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 14:47:41 +02:00

7 lines
292 B
GLSL

// Warm white pulse travelling along the stairs
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
float x = fragCoord.x / iResolution.x;
float wave = 0.5 + 0.9 * sin(x * 12.2831 * 2.0 - iTime * 2);
vec3 warm = vec3(1.0, 0.45, 0.1);
fragColor = vec4(warm * wave, 1.0);
}