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

layout(location = 0) in vec3 vPos;

out vec2 UV;

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