summaryrefslogtreecommitdiff
path: root/advanced_lighting/6.hdr/shaders/light.vert
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-03-18 11:31:31 +0500
committerpryazha <pryadeiniv@mail.ru>2025-03-18 11:31:31 +0500
commitd65ddd07a43d5ffdcf2ddf90d6f86626cf9b92d8 (patch)
tree672efce6089ec9c1103be0c1b70a28ec415eeeab /advanced_lighting/6.hdr/shaders/light.vert
parentd64a159d05a45e75870f61c37f0defa94f03793e (diff)
Diffstat (limited to 'advanced_lighting/6.hdr/shaders/light.vert')
-rw-r--r--advanced_lighting/6.hdr/shaders/light.vert11
1 files changed, 11 insertions, 0 deletions
diff --git a/advanced_lighting/6.hdr/shaders/light.vert b/advanced_lighting/6.hdr/shaders/light.vert
new file mode 100644
index 0000000..a24ade5
--- /dev/null
+++ b/advanced_lighting/6.hdr/shaders/light.vert
@@ -0,0 +1,11 @@
+#version 330 core
+layout(location = 0) in vec3 apos;
+
+uniform mat4 proj;
+uniform mat4 view;
+uniform mat4 model;
+
+void main(void)
+{
+ gl_Position = proj*view*model*vec4(apos, 1.0);
+}