diff options
Diffstat (limited to 'shaders/ntsc.vertex')
| -rw-r--r-- | shaders/ntsc.vertex | 11 |
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 | |||
| 3 | layout(location = 0) in vec3 vertexPosition_modelspace; | ||
| 4 | |||
| 5 | out vec2 UV; | ||
| 6 | |||
| 7 | void main() | ||
| 8 | { | ||
| 9 | gl_Position = vec4(vertexPosition_modelspace,1); | ||
| 10 | UV = (vertexPosition_modelspace.xy+vec2(1,1))/2.0; | ||
| 11 | } | ||
