summary refs log tree commit diff stats
path: root/shaders/ntsc.vertex
blob: 81f8af346752366aa3bcacbb6b0360a226c19c11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#version 330 core

layout(location = 0) in vec3 vertexPosition_modelspace;

out vec2 UV;

void main()
{
  gl_Position = vec4(vertexPosition_modelspace,1);
  UV = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
}