diff options
Diffstat (limited to 'text_rendering/bounds.vert')
-rw-r--r-- | text_rendering/bounds.vert | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/text_rendering/bounds.vert b/text_rendering/bounds.vert new file mode 100644 index 0000000..8c115a5 --- /dev/null +++ b/text_rendering/bounds.vert @@ -0,0 +1,12 @@ +#version 330 core + +layout(location = 0) in vec4 vertex; + +uniform mat4 projection; + +void main() +{ + gl_Position = projection * vec4(vertex.xy, 0.0, 1.0); +} + + |