feat: lab utilites and fix

This commit is contained in:
2026-11-08 18:14:21 +01:00
parent f2c2bb5780
commit 2a2460416d
3 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ TAP_TEMPO=46
# === GROUP INPUT STATES
GROUP_COUNT=3
GROUP_1_COUNT=1
GROUP_1_COUNT=6
GROUP_1_1_X=33
GROUP_1_1_Y=49
GROUP_1_1_Z=65
@@ -103,7 +103,7 @@ GROUP_1_6_X=3
GROUP_1_6_Y=19
GROUP_1_6_Z=
GROUP_2_COUNT=1
GROUP_2_COUNT=7
GROUP_2_1_X=37
GROUP_2_1_Y=53
GROUP_2_1_Z=69
-2
View File
@@ -26,8 +26,6 @@ vec4 src_stage(vec2 vUV, int seed, vec3 b1, vec2 f1, vec3 b2, vec2 f2, vec3 b3,
// logic
// logic
vec3 c = vec3(uv1.x, uv1.y, cos(iBeats) * 0.5 + 0.5);
// output
+9 -2
View File
@@ -1,10 +1,17 @@
#version 460
#include inc_write.glsl
in vec2 vUV;
out vec4 fragColor;
uniform sampler2D iTex0;
uniform int iFPS;
void main() {
fragColor = texture(iTex0, vUV);
}
vec4 color = texture(iTex0, vUV);
color = mix(color, 1. - color, write_int_left(vUV * 20., vec2(1., 1.), min(120, iFPS), 3));
fragColor = color;
}