subroutines test

This commit is contained in:
2025-09-16 23:11:19 +02:00
parent 64ce067e4e
commit 1fb48da6f8
10 changed files with 196 additions and 48 deletions
+5 -4
View File
@@ -1,11 +1,12 @@
// FX A
// ---------
// IN: 3 / 5
// OUT: 5
// -------------
// IN: 3 (SRC A)
// IN: 5 (FX A)
// OUT: 5 (A+B)
in vec2 vUV;
layout(location = 5) out vec3 fragColor;
void main() {
fragColor = gauss2(frame3, vUV, 0.001); //texture(frame3, vUV).xyz;
fragColor = fx_stage(vUV, frame3, frame5);
}