X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=shader%2Fcursor.vertex.glsl;fp=shader%2Fcursor.vertex.glsl;h=85c68b60cf062b18b34880d5c36ebeddc1560dbe;hb=5fa2c5b1e2c9b3a7411f05a6e512992f8f551125;hp=0000000000000000000000000000000000000000;hpb=c690bc6e1a92fae19922e48b58c4874e330b490a;p=tacos-assets.git diff --git a/shader/cursor.vertex.glsl b/shader/cursor.vertex.glsl new file mode 100644 index 0000000..85c68b6 --- /dev/null +++ b/shader/cursor.vertex.glsl @@ -0,0 +1,9 @@ +#version 330 core + +layout(location = 0) in vec3 vert_position; + +uniform mat4 VP; + +void main() { + gl_Position = VP * vec4(vert_position, 1.0); +}