1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#[vertex] #version 450 #VERSION_DEFINES #include "_included.glsl" layout(location = 0) out vec2 uv_interp; void main() { uv_interp = vec2(0, 1); } #[fragment] #version 450 #VERSION_DEFINES layout(location = 0) in vec2 uv_interp; void main() { uv_interp = vec2(1, 0); }