This commit is contained in:
2026-08-27 18:20:26 +02:00
parent a926cd6799
commit 029f9d4d0a
17 changed files with 359 additions and 368 deletions
+5 -20
View File
@@ -68,21 +68,6 @@ UNIFORM_GROUP_PREFIX=iGroup
# Internal texture X
UNIFORM_TEX_PREFIX=iTex
# === SUBROUTINES ===
# GLSL subroutines prefixes
# You can then use them as:
# subroutine(<definition>) <type> <prefix><number>(<args>) {}
# (see: https://wikis.khronos.org/opengl/Shader_Subroutine)
# Numbers go from 1 to SELECT_PAGE_COUNT * SELECT_ITEM_COUNT
# Each fragment shader is injected its current state subroutine
# Total subroutine variants
SUB_TYPE_COUNT=2
# Each subroutine variant prefix
SUB_1_PREFIX=src_
SUB_2_PREFIX=fx_
# ===========
# TEXTURE I/O
# ===========
@@ -159,11 +144,11 @@ TAP_TEMPO=46
# You can manipulate which subroutine is sent to which fragment shader
# Midi codes to select fragment X
SELECT_FRAG_3=32
SELECT_FRAG_4=64
SELECT_FRAG_5=36
SELECT_FRAG_6=68
SELECT_FRAG_8=52
SELECT_FRAG_1=32
SELECT_FRAG_2=64
SELECT_FRAG_3=36
SELECT_FRAG_4=68
SELECT_FRAG_6=52
# Total number of pages (can be 1)
SELECT_PAGE_COUNT=3
# Midi codes to select page X