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

layout(location = 0) in vec2 vertexPosition;
layout(location = 1) in vec2 texcoordPosition;

out vec2 UV;

void main()
{
  gl_Position = vec4(vertexPosition, 0.0f, 1.0f);
  
  UV = texcoordPosition;
}