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