common code for shaders

This commit is contained in:
2025-09-15 23:39:18 +02:00
parent 858d504528
commit e91c113471
16 changed files with 139 additions and 91 deletions
+2 -9
View File
@@ -1,19 +1,12 @@
#version 460
uniform float iTime;
uniform vec2 iResolution;
uniform sampler2D frame3;
uniform sampler2D frame5;
in vec2 vUV;
layout(location = 5) out vec3 fragColor;
// FX A
// ---------
// IN: 3 / 5
// OUT: 5
layout(location = 5) out vec3 fragColor;
void main() {
fragColor = texture(frame3, vUV).xyz;
}