2021-01-13 20:54:34 +01:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout(location=0) in vec2 aPos;
|
|
|
|
layout(location=1) in vec2 aUv;
|
2021-01-18 22:33:22 +01:00
|
|
|
layout(location=2) in vec4 aColor;
|
2021-01-13 20:54:34 +01:00
|
|
|
|
|
|
|
layout(location=0) out vec2 vUv;
|
2021-01-18 22:33:22 +01:00
|
|
|
layout(location=1) out vec4 vColor;
|
2021-01-13 20:54:34 +01:00
|
|
|
|
|
|
|
void main() {
|
|
|
|
gl_Position = vec4(aPos, 0., 1.);
|
|
|
|
vUv = aUv;
|
2021-01-18 22:33:22 +01:00
|
|
|
vColor = aColor;
|
2021-01-13 20:54:34 +01:00
|
|
|
}
|