summaryrefslogtreecommitdiff
path: root/pbr/1.2.textured/hdr.vert
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-07-23 20:55:29 +0500
committerpryazha <pryadeiniv@mail.ru>2025-07-23 20:55:29 +0500
commit33d5f67044d104d69cb2d11e78e6a79bc20d4c4e (patch)
tree61a61becc4a2ccf2638403ecd85518d26bbf1a23 /pbr/1.2.textured/hdr.vert
parent76df5cc4186ca3449e9b957e7de753cb6df4047b (diff)
some prb examples
Diffstat (limited to 'pbr/1.2.textured/hdr.vert')
-rw-r--r--pbr/1.2.textured/hdr.vert17
1 files changed, 17 insertions, 0 deletions
diff --git a/pbr/1.2.textured/hdr.vert b/pbr/1.2.textured/hdr.vert
new file mode 100644
index 0000000..1b953d7
--- /dev/null
+++ b/pbr/1.2.textured/hdr.vert
@@ -0,0 +1,17 @@
+#version 330 core
+
+layout(location = 0) in vec3 position;
+layout(location = 2) in vec2 tex_coords;
+
+out vert_t {
+ vec2 tex_coords;
+} vert;
+
+uniform mat4 model;
+
+void main(void)
+{
+ gl_Position = model * vec4(position, 1.0);
+
+ vert.tex_coords = tex_coords;
+}