random/demo key bindings + better monitor tags

This commit is contained in:
2025-09-20 23:09:09 +02:00
parent 06255691f4
commit ac50deb690
6 changed files with 75 additions and 45 deletions
+1 -1
View File
@@ -1257,7 +1257,7 @@ subroutine(src_stage_sub) vec4 src_16(vec2 vUV, int seed)
{0x54, 0x45, 0x4D, 0x50, 0x4F}, // TEMPO
{0x54, 0x49, 0x4D, 0x45, 0x00}, // TIME
{0x44, 0x45, 0x4D, 0x4F, 0x00}, // DEMO
{0x4E, 0x49, 0x56, 0x45, 0x00}, // LIVE
{0x4C, 0x49, 0x56, 0x45, 0x00}, // LIVE
};
vec2 uv2 = uv1;
+10 -1
View File
@@ -40,16 +40,25 @@ void main() {
c += s(uv2,1,0) * texture(tex5, uv2);
c += s(uv2,2,0) * texture(tex6, uv2);
float f = 0;
float t = 0;
f += rect(uv3, vec2(-51, 28.5), vec2(2.1, 0.7));
t += write_5(uv3, vec2(-53,28), texts[0]);
f += rect(uv3, vec2(-51, -11.5), vec2(2.1, 0.7));
t += write_5(uv3, vec2(-53,-12), texts[1]);
f += rect(uv3, vec2(-14.5, 28.5), vec2(2.6, 0.7));
t += write_5(uv3, vec2(-17,28), texts[2]);
f += rect(uv3, vec2(-14.5, -11.5), vec2(2.6, 0.7));
t += write_5(uv3, vec2(-17,-12), texts[3]);
f += rect(uv3, vec2(21, 28.5), vec2(2.1, 0.7));
t += write_5(uv3, vec2(19,28), texts[4]);
f += rect(uv3, vec2(21, -11.5), vec2(2.1, 0.7));
t += write_5(uv3, vec2(19,-12), texts[5]);
f += rect(uv3, vec2(-15.5, 8.5), vec2(1.6, 0.7));
t += write_5(uv3, vec2(-17,8), texts[6]);
f += rect(uv3, vec2(20.5, 8.5), vec2(1.6, 0.7));
t += write_5(uv3, vec2(19,8), texts[7]);
fragColor = mix(c, 1 - c, t);
fragColor = mix(c, vec4(f - t), f);
}