subroutines test
This commit is contained in:
+5
-4
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user