diff options
Diffstat (limited to 'source/shaders/cq_batched.vs.glsl')
-rw-r--r-- | source/shaders/cq_batched.vs.glsl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/shaders/cq_batched.vs.glsl b/source/shaders/cq_batched.vs.glsl new file mode 100644 index 0000000..84180e9 --- /dev/null +++ b/source/shaders/cq_batched.vs.glsl @@ -0,0 +1,10 @@ +#version 330 core +layout(location=0) in vec4 aPos; +layout(location=1) in vec3 aColor; + +out vec4 vertexColor; + +void main() { + gl_Position = aPos; + vertexColor = vec4(aColor, 1.0); +} |