Files
forge-steel/shaders/frag5.glsl
T
2025-09-16 23:11:19 +02:00

13 lines
234 B
GLSL

// A+B
// ------------
// IN: 5 (FX A)
// IN: 6 (FX B)
// OUT: 7 (MFX)
in vec2 vUV;
layout(location = 7) out vec3 fragColor;
void main() {
// TODO subroutine
fragColor = texture(frame5, vUV).xyz + texture(frame6, vUV).xyz;
}