summaryrefslogtreecommitdiff
path: root/advanced_lighting/7.bloom/shaders/test_blur.vert
diff options
context:
space:
mode:
Diffstat (limited to 'advanced_lighting/7.bloom/shaders/test_blur.vert')
-rw-r--r--advanced_lighting/7.bloom/shaders/test_blur.vert14
1 files changed, 14 insertions, 0 deletions
diff --git a/advanced_lighting/7.bloom/shaders/test_blur.vert b/advanced_lighting/7.bloom/shaders/test_blur.vert
new file mode 100644
index 0000000..eed3be3
--- /dev/null
+++ b/advanced_lighting/7.bloom/shaders/test_blur.vert
@@ -0,0 +1,14 @@
+#version 330 core
+
+layout(location = 0) in vec3 position;
+layout(location = 2) in vec2 tex_coords;
+
+out vert_t {
+ vec2 tex_coords;
+} vert;
+
+void main()
+{
+ vert.tex_coords = tex_coords;
+ gl_Position = vec4(position, 1.0);
+}