summary refs log tree commit diff stats
path: root/shaders/ntsc.vertex
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/ntsc.vertex')
-rw-r--r--shaders/ntsc.vertex11
1 files changed, 11 insertions, 0 deletions
diff --git a/shaders/ntsc.vertex b/shaders/ntsc.vertex new file mode 100644 index 0000000..81f8af3 --- /dev/null +++ b/shaders/ntsc.vertex
@@ -0,0 +1,11 @@
1#version 330 core
2
3layout(location = 0) in vec3 vertexPosition_modelspace;
4
5out vec2 UV;
6
7void main()
8{
9 gl_Position = vec4(vertexPosition_modelspace,1);
10 UV = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
11}